Two Laptop Bag*
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 Murach's Java Servlets and JSP this week in the Servlets 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?