tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Ruiz" <rr...@gridsystems.com>
Subject Re: How to change the package definition from org.apache.jsp to something else ?
Date Tue, 20 Aug 2002 16:06:24 GMT
What about using

 <%@ page extends="your.package" %>

at the beginning of your JSP?

Related to JBuilder:
1. which version of JBuilder are you using?
2. Are you doing remote debugging, or executing Tomcat from within JBuilder?


----- Original Message -----
From: "Eric Gilbertson" <eric.gilbertson@pervasivesec.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Tuesday, August 20, 2002 5:53 PM
Subject: Re: How to change the package definition from org.apache.jsp to
something else ?


> Rob,
>
> As noted in a previous response, the package name and location of the
> servlet class
> files is server specific and not directly controllable by the user. You
can
> work around
> this by statically compiling your servlets using jspc (use the -p switch
to
> control
> the package name that is used) and packing the resulting class files into
a
> .war file.
> This scheme is also server specific, so you want might to consider
> portability impacts
> before using it.
>
> HTH,
>
> Eric Gilbertson
>
> At 12:50 AM 8/20/2002 -0400, you wrote:
> >Hi,
> >I have noticed that the default package structure in my servlet source
> >files (compiled from JSPs) is org.apache.jsp.
> >But the .java and .class files are generated in /work/localhost/_/
> >directory.  How can i
> >
> >1. Force my compiled .java and .class file to go in /work/org/apache/jsp
?
> >or
> >2. Make .java files to include the right package in .java files (which is
> >/work/locahost/_/)?
> >
> >thanks
> >Rob
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message