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]>

Reply via email to