> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Ilja Smoli
> Sent: Friday, December 03, 2004 7:33 AM
> To: [EMAIL PROTECTED]
> Subject: ActionForm validate and redirect
>
>
> Hi
> I use validate method in one of my ActionForms, after
> validation is fail,
> method r
I did this by subclassing the RequestProcessor and
modifying processValidate().
I place a value in the request which indicates the current url
and don't define an input attribute for the action mappings that
need this dynamic input functionality.
In processValidate() if mapping.getInput() == null
You can't modify the actual struts instances that were configured in
struts-config. However, you can handle the validation in your Action
object (see http://marc.theaimsgroup.com/?l=struts-user&m=109302108205069&w=2)
and redirect with parameters by constructing your own ActionForward
instance.
Th
3 matches
Mail list logo