my dog learned polymorphism
The moose likes Struts and the fly likes Hide index.jsp or with struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Hide index.jsp or with struts" Watch "Hide index.jsp or with struts" New topic

Hide index.jsp or with struts

Quince bise

Joined: Jan 22, 2008
Posts: 8
I would like to know how to hide my index.jsp or and just show the root in the url instead?
i set this in my struts-config.xml:
<action path="/index" scope="request"
<forward name="success" path="/index.jsp"/>

my application has no log out functionality ( to close the session). so when i enter my myPage on the url again it would show:

any ideas or solution for this?

Thank you.
jQuery in Action, 2nd edition
subject: Hide index.jsp or with struts