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. On 6/28/05, Thai Dang Vu <[EMAIL PROTECTED]> wrote: > 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 dataform.jsp. When I go from action1 to dataform.jsp, I can attach a > datalist to the request. My problem is: when I click submit in dataform.jsp > and the data don't meet all the validation requirements, the request is > forwarded back to dataform.jsp. At that time no datalist is attached to the > request so the dataform.jsp can not display correctly. How can I solve this > problem? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]