Hi..
I am making a shopping cart where the initial flow is:
login.html-->authenticate.jsp-->browse.jsp

In authenticate.jsp , after username & password are checked , the last line is:
<jsp:forward page="<%= fwd %>"/>
where String fwd =  "browse.jsp";

when I login i get the following error:

Error: 500
Location: /MyCart/browse.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Bad file argument to include
        at 
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:688)
        at 
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:116)
        at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1073)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
        at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
        at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
        at 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
        at 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
        at 
org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163)
        at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:357)
        at 
_0002fauthenticate.jsp_0002ejspauthenticate.jsp_jsp_0._jspService(_0002fauthenticate.jsp_0002ejspauthenticate.jsp_jsp_0.java:162)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
        at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
        at 
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
        at java.lang.Thread.run(Thread.java:484)


Help!!!!
Regards
Vikas



_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to