File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hide index.jsp or index.do with struts