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

2006-05-31 Thread M Hollyer
Gareth Evans 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 Configuratio

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) Yo

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

2006-05-31 Thread M Hollyer
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 the "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd"; when there is no network connection. This is bad because validato

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-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 p

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

2006-05-30 Thread Sateesh Nelluri
quot;com.eam.struts.action.SAction" > validate="true"> > > 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 s

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

2006-05-30 Thread The Jasper
Hi, try changing the validation to: 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 really understand the difference. You don't need the key field

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

2006-05-30 Thread Suresh Babu S
:30 PM Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List" cc: Subject: Re: Help:validation is not working with struts1.2 u need to add tag into ur form. did u add this On 5/30/06, M.Liang Liu <[EMAIL PROTE

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: * http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd";>

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

2006-05-29 Thread paz . periasamy
g List" To: "Struts Users Mailing List" cc: Subject: Re: Help:validation is not working with struts1.2 u need to add tag into ur form. did u add this On 5/30/06, M.Liang Liu <[EMAIL PROTECTED]> wrote: > > I tried to use validat

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

2006-05-29 Thread Suresh Babu S
u need to add 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 active the plug-in

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: and I write the validation.xml as following: http://