tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lei jiang <>
Subject the welcome file "index.jsp" returns an 302 redirection
Date Wed, 07 Jul 2010 10:12:02 GMT
Hi, guys:

I am using the Tomcat, and I put the my website into webapps directory.

The welcome-file-list section likes this:


In the index.jsp, I use the jsp:forward tag to forward the request to
a struts action:
<jsp:forward page=""/>

When I input "http://localhost:8080/mysite" into the address bar of
firefox and hit go button, the browser shows the correct page but the
url in address bar changed to

I find that the tomcat returns a 302 redirection and then the tomcat
returns the page generated by "" action

So what can we do to aviod the 302 redirection and let the address bar
just show "http://localhost:8080/mysite".

Lei Jiang
Member of SeedClass in the Department of Electronics and Information Engineering
Member of Overseas group in Dian team
Room 507, Building D7,1037 Luoyu Road, Wuhan 430074,P.R.China
Email: <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message