You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/12/18 03:27:23 UTC
DO NOT REPLY [Bug 5471] New: -
jspc -webapp option is broken due to namespace collisions
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5471>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5471
jspc -webapp option is broken due to namespace collisions
Summary: jspc -webapp option is broken due to namespace
collisions
Product: Tomcat 4
Version: 4.0.1 Final
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: steve.downey@netfolio.com
When compiling a web application with the -webapp option, all the Java files
are written to the same directory and in the same package. If two jsp files,
such as index.jsp, exist in different directories, they are mapped to the same
servlet.
In order to fix this, the command line jsp compiler needs to output the java
files into directories based on the paths of jsp files, as JspServlet does, and
also to different packages, which the JspServlet does not. Otherwise the
different jsp servlets can not be distinguished in web.xml.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>