This week's book giveaway is in the Other Open Source APIs forum.
We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line!
See this thread for details.
The moose likes Struts and the fly likes Hide index.jsp or index.do with struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Storm Applied this week in the Other Open Source APIs forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Hide index.jsp or index.do with struts" Watch "Hide index.jsp or index.do with struts" New topic
Author

Hide index.jsp or index.do with struts

Quince bise
Greenhorn

Joined: Jan 22, 2008
Posts: 8
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

any ideas or solution for this?

Thank you.
 
Consider Paul's rocket mass heater.
 
subject: Hide index.jsp or index.do with struts