Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Hide index.jsp or index.do with struts