struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anjib Mulepati <anji...@hotmail.com>
Subject Re: Validation in Struts 1
Date Mon, 25 Oct 2010 18:01:20 GMT
ok so is this mean both is server side validation and client side 
validation is done with Javascript?

Also between these two(.xml and execute() method) which one is better? 
Any pros and cons?

Anjib

On 10/25/2010 1:55 PM, Dave Newton wrote:
> That's not combining client- and server-side validation, that's
> combining declarative and programmatic validation, unless you're
> talking about the JavaScript validation method.
>
> Dave
>
> On Mon, Oct 25, 2010 at 1:52 PM, Anjib Mulepati<anjibcs@hotmail.com>  wrote:
>> Hi
>>
>> Can we combine client side validation and server side validation? i.e. using
>> validation.xml as well as validation in  validate() method as well.
>> Does it make any sense?
>>
>> Thanks
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message