Well, can anyone confirm that JSP pages can extend your own class when using
Orion??? Or has noone been able to use "@page extends"?

I see many good reasons for implementing your own super class for your JSP
pages. For instance, such a superclass could do logging of all client
activities or it could do security checking.


Randahl

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert
Nicholson
Sent: 25. maj 2001 21:15
To: Orion-Interest
Subject: RE: bugs in <@page extends="...."> in Orion implementation?


It's doing you a favour.Please elaborate on why you want to extend
that class.


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jiuyun Wang
> Sent: Friday, May 25, 2001 9:20 AM
> To: Orion-Interest
> Subject: Re: bugs in <@page extends="...."> in Orion implementation?
>
>
> It doesnot work, not matter which one (servlet/jspbase) I extends my
> jsp, orion jsp compiler just don't support extends....
>
> -Jiuyun
> --- SCOTT FARQUHAR <[EMAIL PROTECTED]> wrote:
> > It looks like your page should extend servlet and not jsppage.
> >
> > Just change JSPBase to extend servlet (and make the required
> > changes).
> >
> > I haven't read the spec, but I imagine that extending
> > OrionHttpJspPage is proprietary, and would not be part of the spec.
> >
> > Scott
> >
> > >>> [EMAIL PROTECTED] 05/23/01 05:42am >>>
> > I create a class called JSPBase class which extends OrionHttpJspPage,
> > and I put the <@ page extends="packagename.JSPBase"> in my JSP file.
> > however, orion give the following error:
> >
> >      Superclass of the JSP page does not implement Servlet, invalid
> > extends attribute.
> >
> > Does orion implement <@page extends> correctly?
> >
> > Any clarification?
> >
> > -Jiuyun
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Auctions - buy the things you want at great prices
> > http://auctions.yahoo.com/
> >
> >
> >
>
>
> =====
> Jiuyun Wang       M.Sc. of Computer Sciences
> Sun Certified Programmer for Java 2 Platform
> IBM Certified Solution & Enterprise Developer
> Phone: 919-696-0419(cel)
> Email: [EMAIL PROTECTED]
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>


Reply via email to