tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rashmi Rubdi" <rashmi....@gmail.com>
Subject Re: Redirecting URL request to Tomcat to folder containing Cruise Control
Date Tue, 01 May 2007 17:59:02 GMT
However, from the subject of your e-mail it appears that you want to
do a Redirect from http://localhost:8080/standard/  to
http://localhost:8080/cruisecontrol/
which is easy to accomplish.

within a JSP Scriptlet:
<%response.sendRedirect("/cruisecontrol/"); %>

with JSP/JSTL
c:redirect tag

within a Servlet:
response.sendRedirect("/cruisecontrol/");

The above redirects with HTTP 302

I guess thats what you're looking for.

Regards
-Rashmi

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message