tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navdeep Singh" <nsna...@hotmail.com>
Subject Re: How to change the package definition from org.apache.jsp to something else ?
Date Tue, 20 Aug 2002 12:57:56 GMT
Thanks Craing !

As I said, problem is that these .java and .class files land in
/work/localhost/_/ directory with package definition of org.apache.jsp. This
is logically not correct and I cannot use jbuilder to debug the JSP as it
requires the files to be at a correct place. Do we have a workaround to make
this work ?

thanks again,
navdeep
----- Original Message -----
From: "Craig R. McClanahan" <craigmcc@apache.org>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Tuesday, August 20, 2002 1:26 AM
Subject: Re: How to change the package definition from org.apache.jsp to
something else ?


>
>
> On Tue, 20 Aug 2002, Navdeep Singh wrote:
>
> > Date: Tue, 20 Aug 2002 00:50:49 -0400
> > From: Navdeep Singh <nsnanda@hotmail.com>
> > Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> > To: tomcat-user@jakarta.apache.org
> > Subject: How to change the package definition from org.apache.jsp to
> >     something else ?
> >
> > 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
>
> You cannot do this.  The JSP specification specifically says that the page
> compiler can do whatever it wants in terms of package names, and there is
> no guarantee that the generated source file will be placed *anywhere*, let
> alone where you think it should be placed.
>
> > 2. Make .java files to include the right package in .java files (which
is /work/locahost/_/)?
>
> As long as the JSP page compiler can compile these sources (and Tomcat
> can), it should not matter to you where they are placed.
>
> >
> > thanks
> > Rob
> >
> >
> >
>
> Craig
>
>
>
> --
> 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