No, validator-rules.xml isn't in my WEB-INF directory. It's in the struts-core.jar file at location org.apache.struts.validator.validator-rules.xml.
Here is the plugin declaration in my struts-config.xml : <plug-in className="org.apache.struts.validator.ValidatorPlugIn"> <set-property property="pathnames" value="/org/apache/struts/validator/validator-rules.xml, /WEB-INF/validation.xml" /> </plug-in> As I said earlier, it's strange, because I don't always have these errors, though I didn't make any change. For example, right now, as I type these words, I don't have any error in eclipse. But with or without these errors, the form's constraints are taken account. piloupy On 4/17/07, Nuwan Chandrasoma <[EMAIL PROTECTED]> wrote:
hi, Are you sure you have the validator-rules.xml in your WEB-INF directory? Thanks, Nuwan. ----- Original Message ----- From: "piloupy GOTTAPIL" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Tuesday, April 17, 2007 8:20 AM Subject: Re: [OT] Re: Force clean / reload a webapp > There's no problem in my Java Build Path. I have no error and no > warning on my WEB-INF/src. I only have errors and warnings on my > WEB-INF directory : > > ERRORS : > Severity and Description Path Resource Location Creation Time Id > Validation rule "email" doesn't exist. /WEB-INF validation.xml line > 28 1176797654656 31572 > Validation rule "required" doesn't exist. /WEB-INF validation.xml line > 16 1176797654656 31569 > Validation rule "required" doesn't exist. /WEB-INF validation.xml line > 19 1176797654656 31570 > Validation rule "required" doesn't exist. /WEB-INF validation.xml line > 22 1176797654656 31571 > > For theses errors, I really don't know why they are here. I've > included the right libraries and my site's working. Moreover, when I > open the WEB-INF/validation.xml, the errors disappear (sometimes), > sometimes, they don't. dunno why ^^; > > WARNINGS : > Severity and Description Path Resource Location Creation Time Id > The file cannot be validated as the host "struts.apache.org" is > currently unreachable. /WEB-INF tiles-defs.xml line > 5 1176735959046 31518 > > The warning is on the URL line : > > <!DOCTYPE tiles-definitions PUBLIC > "-//Apache Software Foundation//DTD Tiles Configuration 1.3//EN" > "http://struts.apache.org/dtds/tiles-config_1_3.dtd"> > > I don't know what to do for this warning. The dtd file is perfectly > reacheable from the struts website, and this file is in my > struts-tiles library. > > I indeed use WTP and Subclipse. > > piloupy > > On 4/16/07, Dave Newton <[EMAIL PROTECTED]> wrote: >> --- piloupy GOTTAPIL wrote: >> > That's how I configured eclipse in the Build Path. >> > WEB-INF/src --(compile_to)--> WEB-INF/classes. >> > >> > But eclipse doesn't seem to rebuild the classes. I >> > think it's because the element that needs these >> files >> > is tomcat, and not a simple java application. >> >> It shouldn't matter; are there any items in your >> "Problems" view or warnings in the java build path >> dialog box? Are you using something like MyEclipse or >> WTP? >> >> I have no issues with automatically building my web >> apps. >> >> d. >> >> >> __________________________________________________ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.com >> >> --------------------------------------------------------------------- >> 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] > --------------------------------------------------------------------- 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]