tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Package names of compiled java class are all "org.apache.jsp"
Date Mon, 14 Apr 2003 18:26:02 GMT

Howdy,
Do you have a package statement at the top of your jsp?  If not, Jasper
will use its own default, which is org.apache.jsp.  It's good practice
to have a package in your jsps (and other classes).

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Hua Hou [mailto:hua@handango.com]
>Sent: Monday, April 14, 2003 2:23 PM
>To: 'Tomcat Users List'
>Subject: Package names of compiled java class are all "org.apache.jsp"
>
>All,
>
>Can somebody shed some light on why all my compiled jsp files have same
>java
>package name "org.apache.jsp" even if I have the following directory
>structure:
>
><Apache-home>
>     +-- webapps
>            +-- examples
>                   +-- A.jsp
>                   +-- jsp (dir)
>                        +-- A.jsp
>
>When the above two A.jsp files (examples/A.jsp and examples/jsp/A.jsp)
are
>compiled into java files,
>i.e.,
> examples/A.jsp --> work/Standalone/localhost/examples/A_jsp.java
> examples/jsp/A.jsp -->
work/Standalone/localhost/examples/jsp/A_jsp.java
>
>They both have the same package name "org.apache.jsp".
>
>How can I configure so that examples/A.jsp has the package name
>"org.apache.jsp" and examples/jsp/A.jsp has the package name
>"org.apache.jsp.jsp"?
>
>Thanks.
>
>Hua
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


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


Mime
View raw message