I found the answer for my question. I forgot to include a init-param for the
ActionSevrlet to initialize the resource ... really ignorance ...
Thanks all for your answers.
Cheers.
Phong.
----- Original Message -----
From: Deadman, Hal <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 9:34 PM
Subject: RE: Problems with Struts+WebLogic
> 2) You probably have struts.jar in your weblogic classpath. It should only
> be in the WEB-INF/lib directory of your webapp.
>
> 1) I am using weblogic without having xalan and xerces in the weblogic
> classpath. Most of what you would need for a typical application is in
> weblogic.jar.
>
> Hal
>
> -----Original Message-----
> From: Nguyen Thanh Phong [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, March 11, 2001 11:16 PM
> To: [EMAIL PROTECTED]
> Subject: 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:
> [EMAIL PROTECTED]
> Vietnam
>