This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Menu based application

 
Kousik Majumder
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am new in struts application.
Can somebody tell me the standard way to go to a jsp page when clicked in a menu of the application.

I want to use the .do extension in URL to avoid showing the full path of jsp page.


Do I need to declare forward for all the links in the menu(a static page) or there is a way around there.
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to use the .do extension in URL to avoid showing the full path of jsp page.


Struts requests go through an action to reach JSP. So the client will never know the location of the JSP. If you want the JSPs to not be accessible directly, you can put them in the WEB-INF directory...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic