You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nguyen Thanh Phong <ph...@sdcgrp.com> on 2001/03/12 05:15:51 UTC

Problems with Struts+WebLogic

Hi,

I'm having some problem when using Struts with WebLogic (6.0)

1> I'm using the binary distribution of Struts. Do I still need to download
and configure Xalan XSLT Processor and Xerces? I can run the example
"struts-example" successfully, so I suppose that I don't need these
packages. Am I right?

2> I'm building w sample application using Struts and WebLogic (EJB) but I
have the following error

<Jan 9, 2001 10:34:32 AM GMT+07:00> <Error> <HTTP>
<[WebAppServletContext(756828
7,smart)] Root cause of ServletException
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apac
he.struts.action.MESSAGE
        at
org.apache.struts.util.RequestUtils.message(RequestUtils.java:285)
        at
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:2
39)
        at jsp_servlet._adminlogin._jspService(_adminlogin.java:111)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
        at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:208)
        at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:1127)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:1529)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>

My JSP file is as following

<%@ 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-template.tld" prefix="template" %>

<html:html locale="true">
<head>
<title><bean:message key="logon.title"/></title>
<html:base/>
</head>
<body bgcolor="white">

<html:errors/>

<html:form action="/adminLogin" focus="username">
<table border="0" width="100%">

  <tr>
    <th align="right">
      <bean:message key="prompt.username"/>
    </th>
    <td align="left">
      <html:text property="username" size="16" maxlength="16"/>
    </td>
  </tr>

  <tr>
    <th align="right">
      <bean:message key="prompt.password"/>
    </th>
    <td align="left">
      <html:password property="password" size="16" maxlength="16"
                    redisplay="false"/>
    </td>
  </tr>
  <tr>
    <td align="right">
      <html:submit property="submit" value="Submit"/>
    </td>
    <td align="left">
      <html:reset/>
    </td>
  </tr>
</table>
</html:form>
</body>
</html:html>


I'm not quire sure what's going wrong. Please help me.

Thanks in advance.

PS. BTW, is there any searchable archive for Struts-User mailing list?


Nguyen Thanh Phong                           Tel: 84-8-837 25 06/837 25 07
Saigon Software Development Company (SDC)    Fax: 84-8-837 25 11
10 Co Giang Street, Dist I, HCMC             Email:
phong.nguyen_thanh@sdcgrp.com
Vietnam