I have deployed successfully the struts-example on Tomcat & Weblogic8.1 (war file in 
.../user_projects/domains/mydomain/applications).  Its trying to get it via 
Weblogic8.1 WORKSHOP...

The problem: javax.servlet.jsp.JspException: Missing message for key index.title (in 
the ApplicationResources.properties).

The structure of my files (used Workshop wizard) are under 
../user_projects/myproject/myprojectWeb

(0)index.jsp (myprojectWeb):
<%@ 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" %>...
<title><bean:message key="index.title"/></title>....

(1)web.xml (testerWeb/WEB-INF):
<servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml, 
/WEB-INF/struts-config-registration.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>

(2)struts-config.xml (testerWeb/WEB-INF):
<message-resources
    parameter="org.apache.struts.webapp.example.ApplicationResources"/>
(3) ApplicationResources.properties (testerWeb/WEB-INF/src/org/apache/struts/ 
webapp/example/):
index.title=MailReader Demonstration Application (Struts 1.1-dev)

2nd question, besides the 'missing' propoerty:
(4)What do I need to do (controller.jpf,etc.) to get the struts-example to work with 
Workshop?  I would have thought the controller.jpf would have automatically generate 
the GUI, given the struts-example files.

Any help would be appreciated.

Here's the full message:
javax.servlet.jsp.JspException: Missing message for key index.title
        at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:297)
        at jsp_servlet.__index._jspService(index.jsp:8)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
        at 
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
        at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
        at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
        at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
        at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
        at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to