Hide index.jsp or index.do with struts
807601Apr 8 2008 — edited Apr 8 2008Hi,
I would like to know how to hide my index.jsp or index.do and just show the root in the url instead?
i set this in my struts-config.xml:
<action path="/index" scope="request"
type="struts.action.indexAction">
<forward name="success" path="/index.jsp"/>
</action>
my application has no log out functionality ( to close the session). so when i enter my myPage on the url again it would show:
http://localhost:8084/myPage/*index.dojsessionid=E36E77B0CEAFEE*
But i what i only need to show is this:
http://localhost:8084/myPage
any ideas or solution for this?
Thank you.