tomcat-users mailing list archives

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

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 []
>Sent: Monday, April 14, 2003 2:23 PM
>To: 'Tomcat Users List'
>Subject: Package names of compiled java class are all "org.apache.jsp"
>Can somebody shed some light on why all my compiled jsp files have same
>package name "org.apache.jsp" even if I have the following directory
>     +-- webapps
>            +-- examples
>                   +-- A.jsp
>                   +-- jsp (dir)
>                        +-- A.jsp
>When the above two A.jsp files (examples/A.jsp and examples/jsp/A.jsp)
>compiled into java files,
> examples/A.jsp --> work/Standalone/localhost/examples/
> examples/jsp/A.jsp -->
>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
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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:
For additional commands, e-mail:

View raw message