Re: Need help in declaring resource file

2005-07-21 Thread Tamas Szabo
Hi, Ok, that was the first step. But you should also change the line in your struts-config.xml to use the struts-config_1_2.dtd instead of struts-config_1_0.dtd. Hope that it will work now, Tamas Swapnil Patil wrote: Hi Tamas, Now I have included stuts1.2.7.jar, along with struts-c

Re: Need help in declaring resource file

2005-07-21 Thread Swapnil Patil
Hi Tamas, Now I have included stuts1.2.7.jar, along with struts-config_1_0.dtd. struts-config_1_1.dtd. struts-config_1_2.dtd. in \webapps\register\WEB-INF\lib Resorce file path is \webapps\register\WEB-INF\classes\resources\MessageResource.properties still I am getting the same error. Ever

RE: Need help in declaring resource file

2005-07-21 Thread raghavendra
Hey Swapnil Check the resource Folder path, I think it must be in the dir structure as Web project folder/Java Resource Folder/package folder(optional) /resources/...files In struts conf file would be as I think its works fine,try it. Good luck Bye... Hi, I am trying a sample struts

RE: Need help in declaring resource file

2005-07-21 Thread Amol Yadwadkar
truts Users Mailing List Subject: RE: Need help in declaring resource file Hi Amol, resource file is under the hierachy as shown(I am using Tomcat server) \webapps\register\WEB-INF\classes\resources\MessageResource.properties register is context. Still i am getting an exception version of stru

Re: Need help in declaring resource file

2005-07-21 Thread Tamas Szabo
Hi! 1. 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. 2. Parse Error at line 59 column 17: The content of element type "struts-config" must match "(data-sources?,form-be

RE: Need help in declaring resource file

2005-07-20 Thread Swapnil Patil
; -Original Message- > From: Swapnil Patil > [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 21, 2005 11:33 AM > To: Struts Users Mailing List > Subject: Need help in declaring resource file > > Hi, > I am trying a sample struts application. My > struts-co

RE: Need help in declaring resource file

2005-07-20 Thread Amol Yadwadkar
y, July 21, 2005 11:33 AM To: Struts Users Mailing List Subject: Need help in declaring resource file Hi, I am trying a sample struts application. My struts-config.xml is like this- I am getting exception on server like Pars

Need help in declaring resource file

2005-07-20 Thread Swapnil Patil
Hi, I am trying a sample struts application. My struts-config.xml is like this- I am getting exception on server like Parse Error at line 54 column 65: Element type "message-resources" must be declared. org.xml.sax.SAXParseEx