You could use
<!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">
Better still you could get the latest struts jar from Jakarta struts and use
the vlaidator-rule bundled with that...
HTH
Nitesh
----- Original Message -----
From: "roberto" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Wednesday, June 22, 2005 4:58 PM
Subject: validator and xdoclet
Hi people,
I'm an italian student and i have a problem with
struts validator.
I'm working in a universitary project based on
standard j2ee for a web applicaton. This project works
on jboss with struts, ejb, all handled with xdoclet.
The deployment is made by Ant.
I have a form written to works with the validator
framework. I followed the tutorial finded in old email
and the books "programming with jakarta struts".
The problem is that this line
<html:javascript formName="SignupForm"/>
throws an NullException.
Forward the jboss after the deployment throws
"FileNotFoundException: \WEB-INF\validator_1_1.dtd"
because the validator-rules.xml has this line:
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons
Validator Rules Configuration 1.0//EN"
"/WEB-INF/validator_1_1.dtd">
Why I have this exceptions?
If I was inexact I can explain it another time.
thanks,
Roberto
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
---------------------------------------------------------------------
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]