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" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
