El 13 de abril de 2012 19:17, Érico <erico...@gmail.com> escribió: > As an example I have : > > WEB-INF > --struts-config.xml > > --resources > --ApplicationResources.properties > > > and in struts-config code : > > <message-resources parameter="resources.ApplicationResources" > null="false"/> > > > Once I deploy the app in side WTP with tomcat 6.0.32 I get the following : > > javax.servlet.UnavailableException: Missing configuration resource for > path /WEB-INF/struts-conf.xml > > I believe it is not finding the file in the proper path ....
I understand you have the following directory structure: - */WEB-INF/struts-config.xml* - */WEB-INF/resources/ApplicationResources.properties * That's not correct. You have to place the file into your *src *directory, inside a package. For example if your source files application use the package "*en.erico.app*" and you have placed your properties file inside that package, you have to set the *struts-config.xml* as follows: - *<message-resources parameter="en.erico.app.ApplicationResources" null="false"/>*