The information at http://www.jguru.com/faq/printableview.jsp?EID=827776 might help.

Sri

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 21, 2002 3:41 AM
To: [EMAIL PROTECTED]
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:    [EMAIL PROTECTED]
>  date:    Wed, 21 Aug 2002 07:18:46
>  to:      [EMAIL PROTECTED]
>  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:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 


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


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

Reply via email to