Erik Weber wrote:

Chuck, I think reading the Servlet specification would help you a lot! I think it is well edited, and it sure helped me a lot.

Thanks for that tip. I will head on over to Sun's web site and read over the specs themselves independent of the actual servelet container implementations.


The part that was getting me was something that was hinted at in an example in one of the books I mentioned, but the example wasn't complete enough to get working code from it.

JSP #1 accepts user credentials and the submit button invokes Action #1.

Action #1 verifies user credentials and either forwards to JSP #2 or stores errors in the request and forwards badk to JSP #1.

JSP #2 can have several functions performed with different submit buttons, most of which forward to other JSPs and one of them invokes a logout action. The part that was giving me fits was getting the logout action mapping done properly since there's no input form associated with it. Once I got it worked out properly, I could have the logout action do its task and then that action, in turn, forwarded back to JSP #1 that prompts for a login.


-- Chuck Chopp

ChuckChopp (at) rtfmcsi (dot) com http://www.rtfmcsi.com

RTFM Consulting Services Inc.     864 801 2795 voice & voicemail
103 Autumn Hill Road              864 801 2774 fax
Greer, SC  29651

Do not send me unsolicited commercial email.


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



Reply via email to