1 Reply Latest reply on Oct 23, 2002 9:35 AM by Alberto Lagna

    problems with struts + tomcat + jboss 3

    Alberto Lagna Newbie

      I'm using jboss 3.0.3 with tomcat 1.1.14 and struts 1.0.1.

      I developed a very basic struts application with the following structure:

      strutShop.war
      index.JSP
      WEB-INF\
      struts-*.tld
      web.xml
      struts-config.xml
      classes\
      ApplicationResources.properties
      lib\
      struts.jar

      I deployed the strutShop.war dir into ${JBOSS_HOME}/server/default/deploy


      index.JSP is
      --------------------------
      <%@ page language="java" %>
      <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
      <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
      <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
      <html:html locale="true">

      <html:base/>

      <bean:message key="index.title"/>



      <h2>BookView</h2>

      </html:html>

      ApplicationResources.properties is
      --------------------------
      index.title="Home"

      web.xml contains
      --------------------
      <param-name>application</param-name>
      <param-value>ApplicationResources</param-value>


      If I go to http://localhost:8080/strutsShop/index.jsp
      I get the exception org.apache.jasper.JasperException: Missing message for key index.title
      It looks like the properties file cannot be found?
      Where am I wrong?

      If I deploy the same basic application into a standalone installation of tomcat everything works fine
      Please help me: I'm running crazy

      ciao & thanks
      Alberto