Hello All,
I am trying to use forward request but it is'nt working this is what I am
xdoing
File = forward.jsp containing code
<jsp:request forward="login.html" />
login.html is in the same dir
It does not give any compilation error while loading the forward.jsp file
but it throws exception that is cathed in the Servlet generated from the
jsp file the exception listing is as follows
Unhandled error! You might want to consider having an error page to report
such errors more gracefully
com.sun.jsp.JspException: Unknown exception:
java.lang.IllegalArgumentException: Request dispatcher paths must begin
with "/"
at
C_0003a.jsp1_0.examples.mustafa.track.forward_jsp_4._jspService(forward_jsp_
4.java:36)
at com.sun.jsp.runtime.HttpJspBase.service(HttpJspBase.java:43)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:78)
at com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:125)
at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
at com.sun.web.core.Context.handleRequest(Context.java:382)
at com.sun.web.server.ConnectionHandler.run(Compiled Code)
Thankyou
Mustafa Zafar
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".