struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ditlinger, Steve" <SDitlin...@ebuilt.com>
Subject RE: 1.1 Beta 1 Bug: Cannot find message resources under key org.a pache.struts.action.MESSAGE (More info)
Date Thu, 28 Mar 2002 18:57:50 GMT


If you add ANY <message-resources> tag to the struts-config file, even if
the parameter defines a completely bogus path, the problem goes away.  



	I wrote previously....
	======================

> Exceuse me if you've fixed this one already....
> 
> If one writes a simple app that does not include a message resources entry
> in the struts-config.xml.  (In my case, I am using a single
> struts-config.xml with no subapps), one gets the following stack trace in
> the browser when using LinkTag:
> 
> javax.servlet.jsp.JspException: Cannot find message resources under key
> org.apache.struts.action.MESSAGE at
> org.apache.struts.util.RequestUtils.message(RequestUtils.java:793) at
> org.apache.struts.util.RequestUtils.message(RequestUtils.java:755) at
> org.apache.struts.taglib.html.BaseHandlerTag.message(BaseHandlerTag.java:5
> 68) at
> org.apache.struts.taglib.html.BaseHandlerTag.prepareStyles(BaseHandlerTag.
> java:623) at
> org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:355) at
> org.apache.jsp.true$jsp._jspService(true$jsp.java:69) at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.
> java:202) at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatche
> r.java:683) at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispat
> cher.java:431) at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatch
> er.java:355) at
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:
> 972) at
> org.apache.struts.action.RequestProcessor.processActionForward(RequestProc
> essor.java:408) at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:26
> 9) at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1109) at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:452) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
> 
> 
> 


--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message