You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "MARU, SOHIL (SBCSI)" <sm...@sbc.com> on 2004/04/09 20:37:13 UTC

RE: Hiding the .do part in the site address

Use the <welcome-file-list> to specify the home page in your web.xml.
That should allow you to get to the home page without .do.

-----Original Message-----
From: Erez Efrati [mailto:ereze@netmedia.net.il] 
Sent: Friday, April 09, 2004 2:33 PM
To: 'Struts Users Mailing List'
Subject: Hiding the .do part in the site address


Hi,
 
Like all Struts application I have the index.jsp redirecting the user
client to my "home.do" struts action. 
 
Is it possible to get rid of the "home.do" in the address bar so at
least in the site home page the site address will show a clean address
of www.mysite.com <http://www.mysite.com/>  ?
 
Thanks in advance,
 
Erez
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org