I too am facing the same problem.
The reason for this is that Apache Jserv implements Servlet API 2.0 and the
getRequestDispatcher() method was included in 2.1 Servlet API.
You can try using Response.sendRedirect("url").However the problem is you
cannot forward the request object in this case
I am trying to figure a way in which i can forward a (request) from a
servlet to a JSP.Do let me know if are successful in that
Regards
Kishor
NIIT Ltd
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Tran, Fon Francis (CAP,
GECF, Japan)
Sent: Tuesday, December 07, 1999 12:30 AM
To: [EMAIL PROTECTED]
Subject: Help!
Dear all,
Has anyone ever got the following configuration working
with getServletContext().getRequestDispatcher('url')??
I have tried many configurations within my jserv.properties
file using different Servlet class for wrapper.classpath (ie: JSDK and
JWSK)and it
still doesn't work....
I have the following configured:
NT Server
JDK 1.1.8
Apache 1.3.6
Jserv 1.1b3
GNUJSP 1.0
JSDK 2.0 or JWSDK 1.0 and 1.0.1
However, I am still getting the following error message:
Thanks
Fran
gnujsp/org.gjt.jsp.JspServlet: started
gnujsp/org.gjt.jsp.JspServlet: Debugging enabled
gnujsp/org.gjt.jsp.JspServlet: scratchdir=e:\httpd\jsp\scratchdir,
checkDeps=true, pagebase=e:\httpd\jsp, forcePageBase=false,
usePackages=false
gnujsp/org.gjt.jsp.JspServlet: JspServlet: initialized
gnujsp/org.gjt.jsp.JspServlet: service started
gnujsp/org.gjt.jsp.JspServlet: Depends on /jsp/reports.jsp
gnujsp/org.gjt.jsp.JspServlet: getResIm: return
file:/e:\httpd\jsp\reports.jsp
gnujsp/jsp___2fjsp_2freports_2ejsp: started
gnujsp/org.gjt.jsp.JspServlet: getResIm: return
file:/e:\httpd\jsp\reports.jsp
gnujsp/org.gjt.jsp.JspServlet: compileTime was 944534952989
gnujsp/org.gjt.jsp.JspServlet: file:/e:\httpd\jsp\reports.jsp timestamp
944534946000
gnujsp/org.gjt.jsp.JspServlet: getResIm: return
file:/e:\httpd\jsp/pmo/login.html
gnujsp/org.gjt.jsp.JspServlet: Parsing file:/e:\httpd\jsp/pmo/login.html
gnujsp/Not Found: ClassNotFoundException: login.html
login/LoginHandler: started
login/Bound as logon.loginbean to z5ufpdjiv2
java.lang.NoSuchMethodError: javax.servlet.ServletContext: method
getRequestDispatcher(Ljava/lang/String;)Ljavax/servlet/RequestDispatcher;
not found
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:320)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:466)
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
____________________________________________________________________________
____
This message has been checked for all known viruses by the Star Screening
System
http://academy.star.co.uk/public/virustats.htm
________________________________________________________________________________
This message has been checked for all known viruses by the Star Screening System
http://academy.star.co.uk/public/virustats.htm
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html