Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hide index.jsp or index.do with struts

 
Quince bise
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic