Thanks. I tried security constraint and it works. I got generic Glassfish HTTP Status 403 error. Is there any way to use application specific user-friendly error pages in place of Glassfish ones? I would like to do this for 403, 404, and 500 errors. Can we specify them in web.xml of my application?
[Message sent by forum member 'jdev127' (cbai22_at_gmail.com)]
http://forums.java.net/jive/thread.jspa?messageID=391842