DTD supports introduction of new paraemters with the tag set-property, by extending the ActionMapping. There is a tutorial some where in network, I think in HP Bluestone.
Adolfo. >From: Chuck Cavaness <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >Subject: Re: Warning when extending ActionMapping. >Date: Wed, 17 Apr 2002 20:19:27 -0400 > >The struts DTD, whose job it is to make sure the struts-config.xml is >valid, doesn't know about the screen attribute. You'll need to modify the >DTD, or turn parsing off. > >Chuck > >At 05:09 PM 4/17/2002 +0200, you wrote: >>Hi, >> >>In struts-config.xml, I've added a property to the default struts mapping, >>to be able to map each URL with a screen id: >> >>By example: >> >><action path="/logon" >> forward="/views/authentication/logon.jsp" >> screen="ADP-000" /> >> >>To do this, I wrote my own class which extends ActionMapping. >>All works fine, I can access the screen id by calling >>"mapping.getScreen()". >> >>But, I don't understand the logs: >> >>Parse Error at line 120 column -1: Attribute "screen" is not declared for >>element "action". >>org.xml.sax.SAXParseException: Attribute "screen" is not declared for >>element "action". >>... >> >> >>Anyone has an idea? >> >>-- >>C. Bouessay >> >> >>-- >>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]> > _________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

