thank you Aur�lien ! -----Message d'origine----- De : Aur�lien Pernoud [mailto:[EMAIL PROTECTED]] Envoy� : lundi 8 avril 2002 15:23 � : 'Jetspeed Users List' Objet : RE: JSP1_2andJetspeedTagLib doesn't work
btw, tomcat 3 is based on servlet 2.2... Jetspeed should be based on servlet 2.2 too (http://jakarta.apache.org/jetspeed/site/application-development.html) So the problem comes from this portlet, that should not use this method... In servlet 2.2, the getrequestURL was on the HttpUtils class, and this class has been deprecated in servlet 2.3 (to be merged with HttpServletRequest). To be Tomcat 3 compliant, the jsp should use the HTTPUtils class, until jetspeed really moves on using servlet 2.3 Solution : modify the file here : <jetspeed-dir>\WEB-INF\templates\jsp\portlets\html\JSP1_2andJetspeedTagLib.j sp line : 173 <td>Request URL</td> <td><%= HttpUtils.getRequestURL(request) %></td> instead of <td>Request URL</td> <td><%= request.getRequestURL() %></td> I just tried it, it works fine now. Regards, Aur�lien > -----Message d'origine----- > De : Aur�lien Pernoud [mailto:[EMAIL PROTECTED]] > Envoy� : lundi 8 avril 2002 15:01 > � : 'Jetspeed Users List' > Objet : RE: JSP1_2andJetspeedTagLib doesn't work > > > > I had that one too, simply removed the line (line 173) from the jsp. > ( <jetspeed-dir>\WEB-INF\templates\jsp\portlets\html ) > > I'm using 1.3a3-dev, tomcat 3.3.1 final, jdk 1.3.1b24 > > Now I took a deapier look to understand : > > "getRequestURL" only exists in Servlet 2.3, not in 2.2 > > Thinks that's your problem too. > > > -----Message d'origine----- > > De : Pierre BESNARD [mailto:[EMAIL PROTECTED]] > > Envoy� : lundi 8 avril 2002 14:36 > > � : Jetspeed Users List > > Objet : RE: JSP1_2andJetspeedTagLib doesn't work > > > > > > hi paul, > > I have that error message instead fo the portlet : > > ***************************************************** > > ***************************************************** > > ***************************************************** > > 2002-04-08 14:26:09 - Ctx(/jetspeed) : compile error: > > req=R( /jetspeed + > > /WEB-INF/templates/jsp/portlets/html/JSP1_2andJetspeedTagLib.j > > sp + null) - org.apache.jasper.JasperException: Unable to compile > > C:\tomcat\3.3a\work\DEFAULT\jetspeed\WEB_0002dINF\templates\js > > p\portlets\html\JSP12andJetspeedTagLib_1.java: > > 780: Method getRequestURL() not found in interface > > javax.servlet.http.HttpServletRequest. > > out.print( request.getRequestURL() ); > > ^ > > 1 error > > at > > org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source) > > at > > > org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) > > at > > org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) > > at > > org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) > > at > > org.apache.tomcat.facade.RequestDispatcherImpl.doInclude(Unkno > > wn Source) > > ..... > > ***************************************************** > > ***************************************************** > > ***************************************************** > > > > and the same message in the log file beging with : > > ***************************************************** > > ***************************************************** > > ***************************************************** > > [Mon Apr 08 14:26:09 CEST 2002] -- ERROR -- JspPortlet: Could > > not include the following JSP Page: > > JSP1_2andJetspeedTagLib.jsp : Error encountered processing a > > template:/portlets/html/JSP1_2andJetspeedTagLib.jsp: Unable > > to compile > > C:\tomcat\3.3a\work\DEFAULT\jetspeed\WEB_0002dINF\templates\js > > p\portlets\html\JSP1_2andJetspeedTagLib_1.java:780: Method > > getRequestURL() not found in interface > > javax.servlet.http.HttpServletRequest. > > out.print( request.getRequestURL() ); > > ***************************************************** > > ***************************************************** > > ***************************************************** > > > > > > > > -----Message d'origine----- > > De : Paul Spencer [mailto:[EMAIL PROTECTED]] > > Envoy� : samedi 6 avril 2002 20:54 > > � : Jetspeed Users List > > Objet : Re: JSP1_2andJetspeedTagLib doesn't work > > > > > > Can you be more specific then "doesn't work for me." > > > > What is the error message? > > Is their an error in jetspeed.log? > > > > Paul Spencer > > > > Pierre BESNARD wrote: > > > > > hi, > > > JSP1_2andJetspeedTagLib portlet doesn't work for me. > > > Is it the same for you? > > > I use jetspeed 1.3a2 and tomcat 3.3a. > > > The sevlet code is well generated from the jsp but there is > > an error during the compilation. > > > > > > -- > > > Pierre BESNARD > > > > > > > > > -- > > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
