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
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 struts is struts_1_0_2. --- Amol Yadwadkar <[EMAIL PROTECTED]> wrote: > > >

RE: Need help in declaring resource file

2005-07-20 Thread Amol Yadwadkar
Hi Swapnil, Is ur " resources " folder is under classes Directory ? If not Pls try putting it. Also pls let me know which version of Struts are u using ? Is it 1.2 ?? Thankx Best regds, Amol -Original Message- From: Swapnil Patil [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2