0 Replies Latest reply on Feb 10, 2002 11:50 AM by Thomas Phan

    Classpath Problem: JBoss 3/Jetty and Struts

    Thomas Phan Newbie

      I'm using today's JBoss 3 CVS version. It may be a classpath problem; I cannot use Struts' i18n

      http://jakarta.apache.org/struts/userGuide/building_view.html#i18n

      I tried my WAR file in Tomcat, and it works fine

      ---
      My web.xml:


      <servlet-name>action</servlet-name>
      <servlet-class>esb.web.ActionServlet</servlet-class>

      <init-param>
      <param-name>application</param-name>
      <param-value>esb.web.EsbResources</param-value>
      </init-param>
      ...

      where esb.web.ActionServlet is a sub-class of org.apache.struts.action.ActionServlet

      I've EsbResources.properties and ActionServlet.class in my WEB-INF/classes/esb/web/

      ---
      00:31:05,973 INFO [Default] 18505092 [SocketListener-1] WARN org.jboss.jetty.Jetty - WARNING: Servlet Exception for /esb/cms/view/setting/edit.esb
      javax.servlet.jsp.JspException: Missing message for key button.save
      at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)
      at org.apache.jsp.edit$jsp._jspService(edit$jsp.java:131)

      ---
      [root@es web]# grep 'button.save' EsbResources.properties
      button.save=Save
      [root@es web]#