tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: How to redirect URLs
Date Mon, 17 Jul 2006 14:01:02 GMT
I would suggest in the forward webapp web.xml that you update the welcome-file-list to point
to your jsp
e.g.
web.xml contents of www.abc.com (forward webapp)

<welcome-file-list>
  <welcome-file>/test/JSP/ondemand/rdtest/login.jsp</welcome-file>
</welcome-file-list>

M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Nilesh Shastrakar" <nilesh@extenprise.com>
To: <users@tomcat.apache.org>
Sent: Monday, July 17, 2006 8:59 AM
Subject: How to redirect URLs 


> Dear All,
> 
> 
> 
> I have setup the Tomcat sever and Application, its working fine..
> 
> but I got the long URL now I want to make it short
> 
> Ex : 
> 
> 
> 
> http://www.abc.om/test/JSP/ondemand/rdtest/login.jsp
> 
> 
> 
> I want www.abc.com/forward  if  someone  types this URL in browser the site
> should 
> 
> Redirect to above URL.
> 
> 
> 
> Could anyone please help me how to do it in Tomcat?
> 
> 
> 
> Regards
> 
> Nilesh.
> 
> 
> 
> 
> 
>
Mime
View raw message