Unable to locate JSP page from Servlet. 2003-10-13 - By Twan Munster
Back Hello,
You've correctly configured your sitemap? En maybe you have to restart tomcat, or reload the servlet in the tomcat manager.
good luck
Twan -- -- Original Message -- -- From: "anunay ashish" <anunaya@(protected)> To: "Tomcat Users List" <tomcat-user@(protected)> Sent: Monday, October 13, 2003 10:32 AM Subject: Unable to locate JSP page from Servlet.
> Hi, > I am calling a JSP page from a servlet as follows: > try > { > //set the attribute and forward to pageFormat.jsp > request.setAttribute("servletName", "addDataServlet"); > > getServletConfig().getServletContext().getRequestDispatcher("/Tracking_syste > m/pageFormat.jsp").forward(request, response); > } > catch (Exception ex) > { > ex.printStackTrace (); > } > > But the error I am getting is HTTP Status 404. > Physically the JSP file is present in that folder. > Why is the my application not able to locate my JSP page? > Where am I going wrong? > Thanks in advance? > > -- -- Original Message -- -- > From: "Martin Jacobson" <martin_j@(protected)> > To: "Tomcat Users List" <tomcat-user@(protected)> > Sent: Monday, October 13, 2003 1:38 PM > Subject: Re: tomcat and mac os 10.2.8 update > > > > Giuliano Gavazzi wrote: > > > > > was /usr/local a symbilic link? If so the installation might have > > > replaced it with a directory. so you should copy the new content to the > > > target and reinstate the symbilic link. > > > > > > BTW Using JAVA_HOME: /usr sounds wrong to me. > > > > > No, that's right for Mac OS X > > > > Martin > > > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > > To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) > > For additional commands, e-mail: tomcat-user-help@(protected) > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) > For additional commands, e-mail: tomcat-user-help@(protected) >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|