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/11 21:40:58 UTC
DO NOT REPLY [Bug 5365] New: -
JSPs cannot be compiled if their working path includes reserved word
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=5365>.
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=5365
JSPs cannot be compiled if their working path includes reserved word
Summary: JSPs cannot be compiled if their working path includes
reserved word
Product: Tomcat 3
Version: 3.3 Final
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: Unknown
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: icey502@yahoo.com
In a certain implementation, we have JSPs in a directory structure like this:
folder_1\default\folder_2\myJSP.jsp
The webapp dynamically forwards to the JSP during operation. However, the
myJSP.jsp is never successfully compiled because the generated code (i.e.
in "work....\folder_1\default\folder_2\myJSP_1.java") places a package name of
"folder_1.default.folder_2" at the top of the file. Since "default" is a
reserved word in java, the compile fails. I have not tested this with other
folder names that match reserved words, but I would suspect a similar result.
This is easily tested with any trivial JSP.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>