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.
!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
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)
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
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
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
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
,
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
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
/
/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
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
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
12 matches
Mail list logo