I have a war deployed in ServiceMix 6 Milestone version. I am able to access the servlet and jsps from the browser. In my Servlet I have a JSP forward, that i am doing by using RequestDispatcher. I have followed the sample which is in https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples/war-dispatch-jsp . I don't see any error in the log or exception in console, but it is not letting me forward to the jsp from my Servlet. Below are the war related features I have installed: * <feature>war</feature> <feature>camel-core</feature> <feature>camel-http</feature> <feature>camel-servlet</feature>*
I could be missing some feature or something could be wrong the way I am doing. Please help me in resolving this. My Servlet Code: * rd = super.getServletContext().getNamedDispatcher( "jsp"); rd.forward(new HttpServletRequestFilter(request, "/success.jsp"), response); This is the code, copied from the pax sample : private static class HttpServletRequestFilter extends HttpServletRequestWrapper { private String pathInfo; public HttpServletRequestFilter(HttpServletRequest request, String pathInfo) { super(request); this.pathInfo = pathInfo; } public String getServletPath() { return "/"; } public String getPathInfo() { return pathInfo; } }* My web.xml *<servlet> <servlet-name>HomeController</servlet-name> <servlet-class>com.vnet7.servicehub.servlets.HomeController </servlet-class> </servlet> <servlet-mapping> <servlet-name>HomeController</servlet-name> <url-pattern>/HomeController</url-pattern> </servlet-mapping> <servlet> <servlet-name>JspController</servlet-name> <servlet-class>com.vnet7.servicehub.servlets.JspController </servlet-class> </servlet> <servlet-mapping> <servlet-name>JspController</servlet-name> <url-pattern>/jsp</url-pattern> </servlet-mapping>* -- View this message in context: http://servicemix.396122.n5.nabble.com/Jsp-Forward-not-working-in-the-Servlet-Deployed-in-Servicemix-tp5722427.html Sent from the ServiceMix - User mailing list archive at Nabble.com.