Thanks for all of the suggestions on how to solve this
problem.  You have all given good ideas and introduced
me to concepts that I am unfamiliar with as a beginner
with Struts.

To further clarify what I want to do, in case it will
lead to more pointed suggestions - I am including this
session validator on each JSP of my application to
check to make sure that a user is logged in, and if
not I forward to the login page.  There really is no
logic involved other than

if (loggedIn)
{
  // stay on current page
}
else
{
  // go to login page
}

I have done this before by including a servlet on each
page which directs to the login page if the user
wasn't logged in.

If this further information leads you to conclude that
one approach is superior/simpler to another (it looks
like using a Filter or
RequestProcessor.processPreprocess() is the concensus)
then I will certainly appreciate any further
suggestions.

Also, if I decide to use the RequestProcessor, which
seems best, how do I configure it ?  I assume that I
just put an entry in the struts-config.xml and specify
the class of the RequestProcessor (I didn't find
anything on this in the User's Guide).

Again thanks for helping me out with this.


-James 

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to