• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access jsp file under WEB-INF directly

 
Prakash Mani - Attur
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one please tell me how to access jsp file which is under WEB-INF. I should not use struts action.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't. That's the point of putting them under WEB-INF--to disallow direct access.
 
Prakash Mani - Attur
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No David.. In my team they did it by using simpleurlhandler and viewresolver... I dont know spring.. so i could not tell you even the class name correctly...
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not accessing a JSP directly.
 
Prakash Mani - Attur
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oh.. thank you.. I thought since we have not used any action to view the jsp its mean direct access... Can you please say how can we tell that..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic