tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11891] - JspC does not work for webapps
Date Wed, 21 Aug 2002 15:01:39 GMT
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





------- Additional Comments From gregw@mortbay.org  2002-08-21 15:01 -------

For a simple webapp, ls -R :

webapp/:
CVS/  WEB-INF/  date.jsp  hello.jsp  hello2.jsp  subdir/

webapp/CVS:
Entries  Repository  Root

webapp/WEB-INF:
CVS/  jsp.xml  web.xml

webapp/WEB-INF/CVS:
Entries  Repository  Root

webapp/subdir:
date2.jsp  hello.jsp  hello3.jsp  hello4.jsp  subsubdir/

webapp/subdir/subsubdir:
hello.jsp  hello5.jsp



I run java org.apache.jasper.JspC -d gensrc -webapp webapp -webinc jsp.xml
and jsp.xml ends up with three definitions of
 
       <servlet>
                <servlet-name>org.apache.jsp.hello_jsp</servlet-name>
                <servlet-class>org.apache.jsp.hello_jsp</servlet-class>
        </servlet>


In fact all the package names are org.apache.jsp even in the generated
source code:
gensrc/date_jsp.java:package org.apache.jsp;
gensrc/hello_jsp.java:package org.apache.jsp;
gensrc/hello2_jsp.java:package org.apache.jsp;
gensrc/subdir/hello4_jsp.java:package org.apache.jsp;
gensrc/subdir/hello3_jsp.java:package org.apache.jsp;
gensrc/subdir/date2_jsp.java:package org.apache.jsp;
gensrc/subdir/hello_jsp.java:package org.apache.jsp;
gensrc/subdir/subsubdir/hello5_jsp.java:package org.apache.jsp;
gensrc/subdir/subsubdir/hello_jsp.java:package org.apache.jsp;


Maybe I did not apply the patches correctly???
Tell me when they are in CVS and I'll do an update and try again.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message