HI, when my server starts, the following exception is encountered.plz help
[11/14/05 16:07:14:725 IST] 4fa324d4 Digester E org.apache.commons.digester.Digester Parse Error at line 9130 column 20: The content of element type "action-mappings" must match "(action)*".
[11/14/05 16:07:14:741 IST] 4fa324d4 Digester E org.apache.commons.digester.Digester TRAS0014I: The following exception was logged org.xml.sax.SAXParseException: The content of element type "action-mappings" must match "(action)*". 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:362)
Hi Kiran! It seems that your struts-config.xml file does not follow the DTD. According to the DTD for struts configuration: The "action-mappings" tag must have an "action" sub-tag. According to the error posted by you, it seems that there's something wrong in the configuration file, it would be better if you post your struts-config file. Regards, Naresh
Joined: Nov 14, 2005
Hi Naresh, thanks for the response. My struts config is too big to copy paste here. Its more than 10000 lines. Is there any obvious mistake that I made in that? I closed the form-bean tags, action-mapping tags, action tags.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com