- From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
- Date: Thu, 09 Mar 2000 14:32:02 +0100
- To: Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de>, W3 Jigsaw Mailinglist <www-jigsaw@w3.org>
After reading the Servlet specification once again, I found what "javax.servlet.include.request_uri" is. It's a request attribute set by the RequestDispatcher (but Jigsaw doesn't use a RequestDispatcher for jsp servlet mapping). So I update the RequestDispatcher code, as these attributes were not set. Regards, Benoit. Benoit Mahe wrote: > I just looked the tomcat jsp servlet code and the way it get the jsp URI is > strange. GNUJsp use request.getPathInfo() to get the jsp URI and tomcat > use its own request attribute "javax.servlet.include.request_uri". > Is it a standard way to get jsp URI? I've never seen it before. > Anyway, I add a workarround to ServletMapperFrame and it works now, > please check for the next developper release. > > Regards, Benoit. > > Roland Mainz wrote: > > > Hi ! > > > > ---- > > > > I tried to run a small test JSP using jigsawV2.0.4 (developer release > > 20000301) and "tomcat" servlet (e.g. tomcat/lib/servlet.jat, > > tomcat/lib/jasper.jar and JDK1.3beta/tools.jar are in CLASSPATH) but > > I failed ;-(( > > > > The *.jsp gets indexed and connected to a ServletMapperFrame. The > > ServletMapperFrame has the correct URL of the servlet in > > /servlets/JSPServlet, which uses org.apache.jasper.runtime.JspServlet > > class... > > > > When I try to access the URL I get the response: > > -- snip -- > > JSP file "/servlets/JSPServlet" not found > > -- snip -- > > > > Any idea whats going wrong ? "Normal" servlets are working. Test *.jsp > > attached to this mail... > > > > ---- > > > > Bye, > > Roland > > > > -- > > __ . . __ > > (o.\ \/ /.o) Roland.Mainz@informatik.med.uni-giessen.de > > \__\/\/__/ gisburn@informatik.med.uni-giessen.de > > /O /==\ O\ MPEG specialist, C&&JAVA&&Sun&&Unix programmer > > (;O/ \/ \O;) TEL +49 641 99-13193 FAX +49 641 99-41359 > > > > > > > > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > > > date test > > > > <%import java.util.*; %> <% Date d = new Date(); response.println( "date == " + d ); %> > > > > > > -- > - Benoît Mahé ------------------------------------------------------- > World Wide Web Consortium (W3C) > Architecture domain - Jigsaw Engineer > > http://www.w3.org/People/Mahe - bmahe@w3.org > --------------------------------------------------------------------- -- - Benoît Mahé ------------------------------------------------------- World Wide Web Consortium (W3C) Architecture domain - Jigsaw Engineer http://www.w3.org/People/Mahe - bmahe@w3.org ---------------------------------------------------------------------
Received on Thursday, 9 March 2000 08:32:51 UTC