File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!