Erol-
a comprehensive tutorial including how to setup struts-config.xml
validation.xml as well as code can be viewed at
http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html
HTH,
Martin-
----- Original Message -----
From: "croffman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, June 10, 2005 10:42 AM
Subject: Re: enabling server-side validation
In your code in action classes, call the form.validate(mapping, request)
method
Hope this helps.
----- Original Message -----
From: "EROL TEZCAN" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Friday, June 10, 2005 9:30 AM
Subject: enabling server-side validation
Hi,
How can I enable server-side validation, in struts applications?
For client side validation, I am using <html: errors /> before <html:form
tag, and in <html:form > tag onsubmit="return
validateOrderFormBean(this)"
, and applying
<html:javascript formName="orderFormBean"/>
For server-side validation, which changes I need to do?
Thanks for all.
Erol
---------------------------------
Discover Yahoo!
Get on-the-go sports scores, stock quotes, news & more. Check it out!
---------------------------------------------------------------------
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]