Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Web Component Certification (SCWCD/OCPJWCD)
problem in struts-config.xml
Joined: Oct 16, 2005
Sep 13, 2006 05:49:00
I am getting error in server log at my home - The content of element type "struts-config.xml must match "(data - sources <, form-beans ?, global-forwards ?, action-mapping )"
after doing some googling i came to know that the dtd definition in the DOCTYPE element in the xml file doesnt accept the structure of the xml file.
the xml file given in head first uses the struts-config_1_0.dtd file, which i guess doesnt match with the dtd required by the
latest version 1.2.9.
Will it work if i change the definiiton of hthe DOCTYPE element to use the
struts-config_1_1.dtd or struts-config_1_2.dtd or struts-config_1_3.dtd ?
Please help out.
The application ( in head first's last chapter ) works fine, but the server
log kicks me.
SCJP 1.4 - 95%
[ My Story ]
- SCWCD 1.4 - 91%
[ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Joined: Dec 08, 2004
Sep 13, 2006 08:11:00
I guess you may have figured out the solution by now.
Check out the struts version you are using, the struts-config.xml file should be according to the DTD of the struts version.
Hope this helps!
Don't get me started about those stupid
subject: problem in struts-config.xml
HTTP Status 500 - No action instance for path could be created
struts1 application: error in struts-config.xml
Module 'null' not found
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013