I think that the easiest way is not to use automatic validation. Call
validate() manually from action class. If errors found, stick your
datalist into request object and forward to dataform.jsp.
If you want to redirect, append datalist to URL. You would need to
create new ActionForward instance.
]
Sent: 28 June 2005 16:54
To: Struts Users Mailing List
Subject: Re: Help me with my problem in Automatic Validation please
There are two approaches to correcting this.
1. If you are using Sessions, Place the datalist into the session instead of
the request. This will insure the datalist is
"Thai Dang Vu" <[EMAIL PROTECTED]>
06/28/2005 11:34 AM
Please respond to
"Struts Users Mailing List"
To
cc
Subject
Help me with my problem in Automatic Validation please
Hi everybody,
This is the situation:
welcome.jsp > action1
sh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Thai Dang Vu [mailto:[EMAIL PROTECTED]
Sent: 28 June 2005 16:35
To: user@struts.apache.org
Subject: Help me with my problem in Automatic Validation please
Hi everybody,
This is the situation:
welcome.jsp > action
Hi everybody,
This is the situation:
welcome.jsp > action1 ---(forward)---> dataform.jsp ---(submit)---> action2
> view.jsp
I use a drop-down list in dataform.jsp. The data for the list in dataform.jsp
are got from an attribute attached to the request. I use automatic validation
for d
5 matches
Mail list logo