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:36:05 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:36 -------

I've attached a demo webapp.   Are you sure that the packages should all be
org.apache.jsp?   What good is putting the different hello.java classes in
different directories in gensrc if they are all going to endup in the same
classfile?

Jasper 1 generated package names matching the gensrc directories:

        <servlet>
                <servlet-name>date</servlet-name>
                <servlet-class>date</servlet-class>
        </servlet>

        <servlet>
                <servlet-name>hello</servlet-name>
                <servlet-class>hello</servlet-class>
        </servlet>

        <servlet>
                <servlet-name>subdir.date2</servlet-name>
                <servlet-class>subdir.date2</servlet-class>
        </servlet>

        <servlet>
                <servlet-name>subdir.hello</servlet-name>
                <servlet-class>subdir.hello</servlet-class>
        </servlet>

        <servlet-mapping>
                <servlet-name>date</servlet-name>
                <url-pattern>/date.jsp</url-pattern>
        </servlet-mapping>

        <servlet-mapping>
                <servlet-name>hello</servlet-name>
                <url-pattern>/hello.jsp</url-pattern>
        </servlet-mapping>

        <servlet-mapping>
                <servlet-name>subdir.date2</servlet-name>
                <url-pattern>/subdir/date2.jsp</url-pattern>
        </servlet-mapping>

        <servlet-mapping>
                <servlet-name>subdir.hello</servlet-name>
                <url-pattern>/subdir/hello.jsp</url-pattern>
        </servlet-mapping>

--
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