Hi:
I am getting the following error while accessing my web pages -
SEVERE: Element type "constant" must be declared. at (null:7:60)
org.xml.sax.SAXParseException: Element type "constant" must be declared.
Below is my struts.xml -
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.objectFactory" value="spring" />
<constant name="struts.devMode" value="true" />
<package name="tms" namespace="/tms" extends="struts-default">
<action name="Blank" class="tms.action.common.Blank">
<result>/web/jsp/login/Login.jsp</result>
</action>
<action name="list" method="execute" class="TMSUserAction">
<result>/web/jsp/usermgmt/list.jsp</result>
<result name="input">/web/jsp/usermgmt/list.jsp</result>
</action>
</package>
</struts>
I would greatly appreaciate your help.
thanx
Shahab
--
View this message in context:
http://www.nabble.com/struts.xml-error---Element-type-%22constant%22-must-be-declared-tf3150981.html#a8736759
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]