tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Wallace" <pwall...@intelematics.com.au>
Subject redirect from Servlet
Date Thu, 26 Jun 2003 05:51:18 GMT
Hello,
    I have a packaged servlet (com.mypackage.servlets;) in
WEB-INF\classes\com\mypackage\servlets, where it performs its logic
dutifully. From the servlet I wish to redirect back to the JSP that
called it. Currently the JSP origin cannot be found (404). I have tried
all manner of variations of path: 

res.sendRedirect("addAgent.jsp");

including a fully formed URL (local and HTTP). How do I redirect to the
desired file please?

Thanks

Paul.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message