Well, try a javascript solution ;

1) history.go(-1);

or

2) document.location.replace("your url here");

or

3) recreate your DAO list in the validate and you can use it in the page.

or

send the first action to us, have to know what it does, if the problem
continues. :o)

F.

----- Original Message ----- 
From: "Leyla TOLUN (Internet Yazilimlari Yonetmeni)" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, September 01, 2003 12:18 PM
Subject: Struts form validation: DAO and multipages



Nobody has an idea on the subject?

This should be a problem for anyone that codes, select one  and continue
type web apps.


-----Original Message-----
From: Leyla TOLUN (Internet Yazilimlari Yonetmeni)
Sent: Friday, August 29, 2003 10:58 AM
To: Struts Users Mailing List
Subject: Struts form validation: DAO and multipages


Hi,

I have a multipage transaction. On the first page, inside the Action class ,
I bind a DAO list to request. This is listed on the second page. When I
submit the formed page, if the next ActionForm.validate fails, it
automatically returns to the previos page. (As defined in the
sturts_config.xml form_bean/input directive.)
Since my DAO list does not exist in the newly formed request I see nothing.

Is there a way to reexecute my previous ActionMapping when a fom validation
fails. (for a multipage app.)  Or can anyone reccomend a way to handle
multipage apps. (Storing DAO in the session seem inefficient, since there
may be lots of such cases.)

Regards,

Leyla

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



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



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

Reply via email to