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=11891>. 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=11891 JspC does not work for webapps [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major Status|RESOLVED |REOPENED Resolution|WORKSFORME | ------- Additional Comments From [EMAIL PROTECTED] 2002-08-29 10:41 ------- Sorry but I'm reopening this again as I still cannot make it work for me, and I now have other users complaining about it. I will attach new simpler example of the problem. I have created a simple webapp called jspdemo: jspdemo/: WEB-INF/ index.jsp subdir/ jspdemo/WEB-INF: classes/ jspdemo/WEB-INF/classes: jspdemo/subdir: index.jsp this is attached as before.zip I then run java org.apache.jasper.JspC -webapp jspdemo -d jspdemo/WEB-INF/classes -webxml jspdemo/WEB-INF/web.xml which generates the source and web.xml (after.zip), but they cannot be used because of two problems. The source files generated are: jspdemo/WEB-INF/classes/index_jsp.java jspdemo/WEB-INF/classes/subdir/index_jsp.java But both are in the org.apache.jsp package. Thus I cannot compile them to WEB-INF/classes as both end up in WEB-INF/classes/org/apache/jsp/index_jsp.class Also the generated web.xml has a duplicate definition of <servlet> <servlet-name>org.apache.jsp.index_jsp</servlet-name> <servlet-class>org.apache.jsp.index_jsp</servlet-class> </servlet> which is used by both servlet mapping clauses, so both JSPs are mapped to the same servlet. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>