Re: Help:validation is not working with struts1.2

2006-05-31 Thread M.Liang Liu
Thanks to all of you. I learned a lot from this chain of letters. You fellows are so kind that I am sure struts is a beautiful struts :) Many questions are coming as I will pay a lot of time to study struts as a freshman. Thank you again.

Re: Help:validation is not working with struts1.2

2006-05-31 Thread M Hollyer
!DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd; I am experiencing the same issue when my network connection is off. The validator cannot reference

Re: Help:validation is not working with struts1.2

2006-05-31 Thread Gareth Evans
Hi, If your application tries to connect to the web for any reason on startup, either to jakarta.apache.org or struts.apache.org it is because the digester is unable to find a local copy of the dtd. This can happen for a number of reasons: 1) There is a typo in your doctype declaration 2)

Re: Help:validation is not working with struts1.2

2006-05-31 Thread M Hollyer
Gareth Evans gareth.evans at msoft.co.uk writes: One of the best ways to check it to extract the struts jars file to a temporary folder and see which ones it contains. Note: The public identifier is an exact string match i.e. -//Apache Software Foundation//DTD Commons Validator Rules

Re: Help:validation is not working with struts1.2

2006-05-30 Thread Suresh Babu S
u need to add html:javascript tag into ur form. did u add this On 5/30/06, M.Liang Liu [EMAIL PROTECTED] wrote: I tried to use validator in my struts application and I find a problem occurred: The form did not validate itself and the execute method is always called. I

Re: Help:validation is not working with struts1.2

2006-05-30 Thread paz . periasamy
Users Mailing List user@struts.apache.org cc: Subject:Re: Help:validation is not working with struts1.2 u need to add html:javascript tag into ur form. did u add this On 5/30/06, M.Liang Liu [EMAIL PROTECTED] wrote: I tried to use validator in my struts application

Re: Help:validation is not working with struts1.2

2006-05-30 Thread M.Liang Liu
Thanks for your reply. *paz.periasamy got the point:I am just trying to use server validate. The validator-rules.xml is as following ,the one I copyed from the struts-blank: * !DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator Rules Configuration

Re: Help:validation is not working with struts1.2

2006-05-30 Thread Suresh Babu S
, Pazhanikanthan. P (Paz) Suresh Babu S [EMAIL PROTECTED] 30/05/2006 04:30 PM Please respond to Struts Users Mailing List To: Struts Users Mailing List user@struts.apache.org cc: Subject:Re: Help:validation is not working with struts1.2 u need to add

Re: Help:validation is not working with struts1.2

2006-05-30 Thread The Jasper
Hi, try changing the validation to: form name=/s field property=name depends=required/field /form note, you are now referencing the action not the page. Also, you might want to extend ValidatorActionForm instead of ValidatorForm, but to tell the truth I'm not sure I

RE: Help:validation is not working with struts1.2

2006-05-30 Thread Sateesh Nelluri
/ /action regards sateesh -Original Message- From: M.Liang Liu [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 10:18 AM To: Struts Users Mailing List Subject: Help:validation is not working with struts1.2 I tried to use validator in my struts application and I find a problem occurred

Re: Help:validation is not working with struts1.2

2006-05-30 Thread Dave Newton
The Jasper wrote: Also, you might want to extend ValidatorActionForm instead of ValidatorForm, but to tell the truth I'm not sure I really understand the difference. For future reference and completeness: You can specify validations based on either the form bean name or the action mapping

Help:validation is not working with struts1.2

2006-05-29 Thread M.Liang Liu
I tried to use validator in my struts application and I find a problem occurred: The form did not validate itself and the execute method is always called. I active the plug-in in struts-config.xml as following: plug-in className=org.apache.struts.validator.ValidatorPlugIn