struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wong Kok Wai <won...@pacific.net.sg>
Subject [Fwd: 0702 build and Weblogic 5.1]
Date Wed, 05 Jul 2000 01:10:20 GMT
Hi Craig,

See below.


Anna Maria San Valentin wrote:

> This error is thrown when MessageResource tries to retrieve
> org.apache.struts.taglib.ApplicationResources.  You should use the line:
>
> resources =
> MessageResources.getMessageResources("org.apache.struts.taglib.ApplicationRe
> sources");
>
> instead of:
>
> resources = (MessageResources) pageContext.getAttribute(bundle,
> PageContext.APPLICATION_SCOPE);
>
> That should get rid of the error.
>
> ~A~
>
> -----Original Message-----
> From: Wong Kok Wai [mailto:wongkw@pacific.net.sg]
> Sent: Sunday, July 02, 2000 11:06 PM
> To: struts-user
> Subject: 0702 build and Weblogic 5.1
>
> Encountered the following exception with the latest build when running
> on Weblogic 5.1sp3:
>
> Mon Jul 03 14:03:23 GMT+08:00 2000:<E> <WebAppServletContext-struts>
> Root cause
> of ServletException
> java.lang.NullPointerException:
>         at
> weblogic.servlet.jsp.PageContextImpl.getAttribute(PageContextImpl.jav
> a:159)
>         at
> org.apache.struts.taglib.MessageTag.doStartTag(MessageTag.java:358)
>         at jsp_servlet.index._jspService(index.java:82)
>         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:123)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
> pl.java:141)
>         at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
> textImpl.java:744)
>         at
> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
> textImpl.java:692)
>         at
> weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
> ContextManager.java:251)
>         at
> weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
> a:363)
>         at
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
>
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
> Compiled Code)


Mime
View raw message