A 'rewrite' attribute is not defined for the 'forward' element, which is why you are seeing the error. See the struts-config DTD for more details. Perhaps you meant 'redirect' instead of 'rewrite'? -- Martin Cooper At 01:56 PM 8/2/01, Prashanth_Thm wrote: >Hi, > I am putting an action tag like this in my action-mapping of >struts-config.xml : > > <action path="/abcdpair" > type="abcdPairAction" > name="abcdPairForm" > scope="request" > input="/AddabcdPair.jsp"> > <forward name="success" path="/abcdpairs.do" >rewrite="true"/> > <forward name="failure" path="/error.jsp"/> > </action> > > During deployment of the same in Weblogic6.0 server , I am getting >the following exception: > >Parse Error at line 363 column 82: Attribute "rewrite" must be declared for >element type "forward". >org.xml.sax.SAXParseException: Attribute "rewrite" must be declared for >element type "forward". > > But the forward functionality works fine after deployment.But i want >to know why this > exception is thrown while deployment? > > Am i missing something? > >TIA, >Prashanth. > >