Is anyone working with Struts on Tomcat 4.1.29? If yes, can you provide me some inputs on the installation.
I'm getting org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE, when executing <bean:message key="index.title"/> in the jsp. Thanks Mukund -----Original Message----- From: Mukund Ramadoss [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 9:00 AM To: 'Struts Users Mailing List' Subject: RE: org.apache.struts.action.MESSAGE My attachment got denied. I'm enclosing it here. Thanks - Mukund ----------------------------- struts-config.xml <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE struts-config PUBLIC "http://jakarta.apache.org/struts/dtds/struts-config_1.0.dtd"> <struts-config> <message-resources parameter="ApplicationResources" key="org.apache.struts.action.MESSAGE" null="false" /> </struts-config> ----------------------------- web.xml <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app SYSTEM "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <servlet> <servlet-name>action</servlet-name> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> <init-param> <param-name>application</param-name> <param-value></param-value> </init-param> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> <init-param> <param-name>debug</param-name> <param-value>2</param-value> </init-param> <init-param> <param-name>detail</param-name> <param-value>2</param-value> </init-param> <init-param> <param-name>validate</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>application</param-name> <param-value></param-value> </init-param> <load-on-startup>2</load-on-startup> </servlet> <!-- Action Servlet Mapping --> <servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>/do/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>invoker</servlet-name> <url-pattern>/servlet/*</url-pattern> </servlet-mapping> <!-- The Welcome File List --> <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> </welcome-file-list> <!-- Struts Tag Library Descriptor --> <taglib> <taglib-uri> /WEB-INF/struts-bean.tld </taglib-uri> <taglib-location> /WEB-INF/struts-bean.tld </taglib-location> </taglib> <taglib> <taglib-uri> /WEB-INF/struts-html.tld </taglib-uri> <taglib-location> /WEB-INF/struts-html.tld </taglib-location> </taglib> <taglib> <taglib-uri> /WEB-INF/struts-logic.tld </taglib-uri> <taglib-location> /WEB-INF/struts-logic.tld </taglib-location> </taglib> <taglib> <taglib-uri> /WEB-INF/struts-template.tld </taglib-uri> <taglib-location> /WEB-INF/struts-template.tld </taglib-location> </taglib> </web-app> ----------------------------- -----Original Message----- From: Mukund Ramadoss [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 8:55 AM To: 'Struts Users Mailing List' Subject: org.apache.struts.action.MESSAGE Hi, I'm setting up Struts to work with Tomcat 4.1.29. When I tried to run a jsp (BookView.jsp) from a tutorial, I get the following exception : org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja va:254) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) I'm attaching struts-config.xml, web.xml, and BookView.jsp for your reference. I've tried copying ApplicationResources.properties from classes to WEB-INF folder. But the result is same. Any suggestions? Thanks Mukund --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]