Hi: I think I would need some more help from you. I dont see any dtd or xsd file in my application. What else I should look for?
I also tried to download struts-2.0.dtd and asaved it under WEB-INF/lib. But that didnt help either. Please help. thanx Shahab Don Brown wrote: > > You have an old version of the DTD cached somewhere. We really should > make a FAQ out of this :) > > Don > > On 1/31/07, shahab <[EMAIL PROTECTED]> wrote: >> >> 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] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/struts.xml-error---Element-type-%22constant%22-must-be-declared-tf3150981.html#a8739171 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]