Thnaks for help,

But where do I specify forward for /test/JSP/ondemand/rdtest/login.jsp

If someone type the url www.abc.com/forward it should redierct to above jsp.

Regards
Nilesh,
-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 17, 2006 7:31 PM
To: Tomcat Users List
Subject: Re: How to redirect URLs

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" <[EMAIL PROTECTED]>
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.
> 
> 
> 
> 
> 
>


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

Reply via email to