Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

subfolder in jsps causing ServletException

0 views
Skip to first unread message

buzz

unread,
Aug 20, 2003, 6:36:44 AM8/20/03
to
Hi,
My application is redirecting the url to a jsp in a sub folder.

String dispatch_url;
if((request.getParameter("action") == null) ||
(request.getParameter("action").length() < 1))
{
dispatch_url = "./action/home/"
}
else
{
dispatch_url = "./action/"
+ request.getParameter("action")
+ "/"
;
}

And I get the below exception;

<[ServletContext(id=6822497,name=applications,context-path=/application
s)] Servlet failed with ServletException
javax.servlet.ServletException: Failed to resolve path:
/applications/action/home/
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:522)
at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:369)
at jsp_servlet.__index._jspService(__index.java:242)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:445)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)


I can't figure out the reason why this is happening.
Any clues?

Thanks in advance.

0 new messages