HI!!! I just got through tutorials for struts by Isabelle Hurbain. I got everything right upto just before "A bit of internationization". After I make the , ApplicationResources.properties and edit the index.jsp page I get the error as written below. I searched on some of the forum and used
<message-resources parameter="ApplicationResources"/> in place of <init-param> <param-name>application</param-name> <param-value>ApplicationResources</param-value> </init-param> in the web.xml. But got the same result. Can any body suggest , how to move further.
Hi Anshu, I encountered the same problem. You donot have to change anything from the code given by Isabelle hurmain for this Internationalization problem. All you have to dau is to just add an empty struts-config.xml into the WEB-INF directory with the following content: <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd"> <struts-config></struts-config> It worked for me when i added just that. Hope this helps. Let me know if you need further help.
SCJP 1.4 SCBCD SCWCD
Joined: Sep 16, 2003
Thanks Lara.... I'll tell you when I'll be through....