This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Struts and the fly likes Blocking jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Blocking jsp" Watch "Blocking jsp" New topic

Blocking jsp

rudresh kumar
Ranch Hand

Joined: Jan 04, 2006
Posts: 83
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.

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
See the section entitled "Safeguarding JSPs" in this article

Consultant, Sima Solutions
I agree. Here's the link:
subject: Blocking jsp
It's not a secret anymore!