You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/03/13 22:10:01 UTC

Architecture Questions - Session Management and Validation

Subject: Architecture Questions - Session Management and Validation
From: "Arthur Frankel" <ar...@yahoo.com>
 ===
I am new to Struts and have the following questions that I have been unable
to answer from FAQs and documentation:

1) Session Management - I want to limit the information stored in your
session between pages.  I am planning on using request.setAttribute for
information I just need to display in the JSP and session.setAttribute for
items I need across multiple pages.  Is there any mechanism in Struts (i.e.,
XML based) that can remove items from the session based on properties of a
page.  For example, in moving across a 5 page creation "wizard" I would like
to remove the items from the session after the "save".  There doesn't seem
to be a way in Struts to set the XML in such a way to "automatically" do
this.  It seems that I would need to add code specifically to my Action.  Is
this correct? Am I missing something?

2) Validation - I am using the struts validator -
http://home.earthlink.net/~dwinterfeldt/ and find that it doesn't support
errors vs. warnings vs. informational text.  Is there something that I'm
missing here?

Thanks in advance
Arthur Frankel
arthur_frankel@yahoo.com



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>