Make sure that there is a setting in your web.xml for the Application Resources.
<init-param> <param-name>application</param-name> <param-value>ApplicationResources</param-value> </init-param> ... and that the ApplicationResources.properties file is on the application's classpath. Anywhere under classes should do. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/struts/ peter wrote: > > Hi > > Just installed tiles, which I'm running with struts1.0, and I get the > following error when I try to load my .jsp file: > > A Servlet Exception Has Occurred Exception Report: > javax.servlet.ServletException: Cannot find message resources under key > org.apache.struts.action.MESSAGE > > at org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown > Source) > at org.apache.jsp.fHome$jsp._jspService(fHome$jsp.java:188) > .............................................. > > I think the problem might be something to do with not being able to read my > ApplicationResources.properties, but I cannot find a way to solve this > problem yet. If I remove all tags which reference the ApplicationResources > the .jsp file loads ok. > > I've followed the instructions according to the installation file at: > > http://www.lifl.fr/~dumoulin/tiles/doc/installation.html > > and I've place the .tld, and .jar files in the relevant directories, and > modified my web.xml file with: > > <servlet> > <servlet-name>action</servlet-name> > > <servlet-class>org.apache.struts.tiles.ActionComponentsServlet</servlet-clas > s > <init-param> > <param-name>definitions-config</param-name> > <param-value>/WEB-INF/tilesInstances.xml</param-value> > </init-param> > ... > > Have I missed something out, or does someone know what the problem might be? > > Thanks > > Peter > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>