Thursday, March 11, 2010

Adding few more JSPs and Security Requirements

Now I will add two more JSPs – one is the home page showing some dashboard information and the other is the file upload JSP which will be used to upload photos.

Listing 1 – home.jsp
Listing 2 – upload.jsp
  1. index.jsp should be accessible without any security filtering
  2. home.jsp should be accessible only to registered users
  3. upload.jsp should only be accessible to registered users
Since the JSPs are placed under WEB-INF in any case no one can directly access it. So in the next post I will try to add a few page controllers to the scheme of things to make these pages accessible without any application security credentials.

No comments:

Post a Comment