• 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!