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

Blocking jsp

 
rudresh kumar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,

I have 20 jsp's in my application, in that i have a login.jsp and loginsuccess.jsp and others are dynamic page (like pop up, search and dynamic jsp).
I don't want users directly open this jsp as this has to be part of the main jsp (means invocation should happen from main jsp)

is there a way to block the users from accessing this jsp other than loginsuccess jsp.

Thanks
Rudresh
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the section entitled "Safeguarding JSPs" in this article
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic