struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sri Sankaran" <Sri.Sanka...@sas.com>
Subject RE: Struts event cycle
Date Wed, 21 Aug 2002 13:36:22 GMT
The information at http://www.jguru.com/faq/printableview.jsp?EID=827776 might help.

Sri

-----Original Message-----
From: vellosa@btopenworld.com [mailto:vellosa@btopenworld.com] 
Sent: Wednesday, August 21, 2002 3:41 AM
To: struts-user@jakarta.apache.org
Subject: Re: Struts event cycle


Hello again!

Another quick question on this subject, does the reset I mentioned in step 4 get called whatever
the scope of the page? I was assuming that if the page is session scoped it will only be called
the first time, but it looks to be called every time the form is submitted?

Thanks for any help
IV


>  from:    vellosa@btopenworld.com
>  date:    Wed, 21 Aug 2002 07:18:46
>  to:      struts-user@jakarta.apache.org
>  subject: Re: Struts event cycle
> 
> Hello everybody,
> 
> I have a problem with the way in which one of my JSP pages is behaving 
> and think that it is down to the way we have coded the Struts Form and 
> Action classes. So I'm trying to sort out in my mind the sequence in 
> which events happen when I submit a form. I think that it follows this 
> pattern, assuming that all the validaion works:
> 
>   1. Press Submit
>   2. Java Script Validation
>   3. Form Object Created (if not done already)
>   4. reset called on form
>   5. Form values populated
>   6. validate called on form (if required by config.xml)
>   7. Action object created
>   8. doPerform called on Action
> 
> Is this correct?
> 
> Will an interaction diagram be included in the reworked documentation 
> that has been
> mentioned (Sorry if there is one, I couldn't find it)
> 
> Thanks for any help
> IV
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:struts-user-help@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message