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
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
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
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
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
; -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
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
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
8 matches
Mail list logo