> Is there a better way of handling this type of case
> (I'm trying to protect certain pages depending on
> whether is logged in or not).
You could use a <security-constraint> node in your web.xml for that.
[Message sent by forum member 'mpscholz']
http://forums.java.net/jive/thread.jspa?messageID=472117