Cedric Dumoulin wrote: > This error means that you have used an attribute named 'rewrite' in a <forward >...> tag in your xml file. Check line 49 ;-) > > Cedric > >jfc100 wrote: > >>Hi, >> >>Using struts1.0 with tiles, I'm getting the following error msg when >>starting my server: >> >>[snip] >>Pop org.apache.struts.action.ActionForward >>[Default] Parse Error at line 49 column -1: Attribute "rewrite" is not >>declared for element "forward". >>[Default] org.xml.sax.SAXParseException: Attribute "rewrite" is not >>declared for element "forward". >>[Default] at >>org.apache.crimson.parser.Parser2.error(Parser2.java:3013)[ >>[snip] >> >>I have checked the dtds which are embedded in the struts.jar file for >>the word 'rewrite' and there is no reference to it at all in either 1.0 >>or 1.1! The dtd reference in my struts-config.xml file is as follows: >> >><!DOCTYPE struts-config PUBLIC >> "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" >> "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> >> >>I have searched this one and the 1_0 version (online) and still no >>reference to "rewrite". >> >>Why am I getting this message? >> >>Any help is much appreciated. >> >>Joe >> >>-- >>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> >> > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > Hi Cedric!
I've checked every xml file in my depoyed directory/ war file and there is no 'rewrite'. Is the error message not inferring that I should be using the rewrite attribute? Cheers Joe -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>