Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Hide index.jsp or index.do with struts

807601Apr 8 2008 — edited Apr 8 2008
Hi,
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 6 2008
Added on Apr 8 2008
5 comments
1,464 views