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 17:58:42 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 17:58 -------
Sorry to go on about this....  Firstly can you send me the jsp.xml file
and an ls -R of the gensrc you get - so we can verify that it is working
the same for both of us.

For what I'm getting generated, I cannot see how any container 
can run the generated xml (I'm on the servlet JSR panel - so you would hope
that I know :-)
 
       <servlet>
                <servlet-name>org.apache.jsp.hello_jsp</servlet-name>
                <servlet-class>org.apache.jsp.hello_jsp</servlet-class>
        </servlet>
        <servlet>
                <servlet-name>org.apache.jsp.hello_jsp</servlet-name>
                <servlet-class>org.apache.jsp.hello_jsp</servlet-class>
        </servlet>

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

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

So both hello.jsp servlets have been mapped to a servlet called
org.apache.jsp.hello_jsp

That servlet has been defined twice to be org.apache.jsp.hello_jsp class

So no matter what - the servlet container must serve the same content
for both those hello.jsp files, as they are defined as the same servlet.

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