struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Durham David Cntr 805CSS/SCBE" <David.Durh...@scott.af.mil>
Subject RE: Disable the titles and validation
Date Wed, 22 Jan 2003 18:46:59 GMT
You need to put 1 or more <definition /> elements inside of the <tiles-definition
/> element.  Or you can remove the <tiles-definition /> element if you're not using
it.  These elements are more than likely inside of the tiles-defs.xml file.  Also it looks
like you are missing the validation.xml file, which is supposed to define your validators.
 Open up the blank war and verify that the validation.xml file is in that archive and that
tiles-defs.xml contains at least 1 <definition />.

What I suggest is starting over with the struts 1.1 Beta 3 upgrade, because you are missing
files that you should not be missing.

Optionally, if all you really want to do is turn off tiles and validators, then just uncommment
the plugins at the bottom of struts-config.xml and remove the tiles tag-lib reference in web.xml.

I think that should work for you.

Werd,

Dave





> -----Original Message-----
> From: Tom [mailto:tomcwh@yahoo.com]
> Sent: Wednesday, January 22, 2003 12:32 PM
> To: struts-user@jakarta.apache.org
> Subject: Disable the titles and validation
> 
> 
> Hi guys,
> 
> I just switch to use Struts 1.1 Beta 3 from Struts
> 1.02 Release. I am trying to migrate an old
> application built with 1.02 version to 1.1b3 version.
> I employed the bundled blank web archive for the
> migration.
> 
> However, I got a number of errors when the tomcat
> starting up. see the partial logs below.
> 
> *********** extracted from logs partially *******
> SEVERE: Parse Error at line 39 column 21: The content
> of element type "tiles-definitions" is incomplete, it
> must match "(definition)+".
> org.xml.sax.SAXParseException: The content of element
> type "tiles-definitions" is incomplete, it must match
> "(definition)+".
>         at
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)
> 
> ...
> 
> INFO: Loading validation rules file from
> '/WEB-INF/validation.xml'
> log4j:WARN No such property [file] in
> org.apache.log4j.ConsoleAppender.
> log4j:ERROR setFile(null,false) call failed.
> java.io.FileNotFoundException: ..\logs\track.log (The
> system cannot find the path specified)
>         at java.io.FileOutputStream.open(Native
> Method)
> 
> ****************** end *********************
> 
> It seems that there were some problems related to
> titles and validation. If I don't want to use it at
> the time being, how can I disable these 2 functions so
> that the error message would not be appeared again.
> 
> Thank you very much
> Tom C.
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> --
> To unsubscribe, e-mail:   
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message