hi i am planning to have different messages picked up from the aplication resouces properties file but it doesn't seem to work The ApplicationResources.properties file resides in my classes->com folder and there is an entry for this key as app.title=CRS but this <bean:message key="app.title" /> doesn't work. The same happens to display an error besides html component if the user name is empty then i add error as errors.add("userID", new ActionError("error.userID.required")) as per the book i have an entry for error.userID.required in teh resource file as error.userID.required=<li>User ID cant be null</li> and i try to print the error as <html:errors property="userID"/>
Lastly i have defined the mapping for the application resource file in the strutsconfig.xml as <message-resources parameter="com.ApplicationResources" /> Any help will be appreciated
hello. I am still unable to display the value from the application resources file. just dont know what's wrong with this. the only thing i get is some string like ???en_US.app.title??? . Can anyone help with this
Have you added the ApplicationResources.properties file to the controller servlet in the web.xml file. as init-param <init-param> <param-name>application</param-name> <param-value>ApplicationResources</param-value> </init-param>
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
a bit of art, as a gift, that will fit in a stocking