This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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
Similar Threads
Exception in writing to the response output stream through the included jsp
JDBC connection for DB2 database
How would you design this??
Difference between servlets and JSP
How to call class from different package?