Hi, I am trying a sample struts application. My struts-config.xml is like this-
<struts-config> <form-beans><form-bean name="logonForm" type="app.LogonForm"/> </form-beans> <global-forwards> <forward name="logon" path="/pages/logon.jsp"/> </global-forwards> <action path="/LogonSubmit" type="app.LogonAction" name="logonForm" scope="request" validate="true" input="/pages/logon.jsp"> <forward name="success" path="/pages/welcome.jsp"/> </action> </action-mappings> <!-- message configuration --> <message-resources parameter="resources.MessageResources" /> </struts-config> I am getting exception on server like Parse Error at line 54 column 65: Element type "message-resources" must be declared. org.xml.sax.SAXParseException: Element type "message-resources" must be declared. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232) at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173) Parse Error at line 59 column 17: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-forwards?,action-mappings?)". org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-forwards?,action-mappings?)". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:232) at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:173) at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:371) Can anybody help me about it. ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]