The moose likes Struts and the fly likes Hide index.jsp or with struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Hide index.jsp or with struts" Watch "Hide index.jsp or with struts" New topic

Hide index.jsp or with struts

Quince bise

Joined: Jan 22, 2008
Posts: 8
I would like to know how to hide my index.jsp or and just show the root in the url instead?
i set this in my struts-config.xml:
<action path="/index" scope="request"
<forward name="success" path="/index.jsp"/>

my application has no log out functionality ( to close the session). so when i enter my myPage on the url again it would show:

any ideas or solution for this?

Thank you.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Hide index.jsp or with struts
jQuery in Action, 3rd edition