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:568
) at
org.apache.struts.taglib.html.BaseHandlerTag.prepareStyles(BaseHandlerTag.ja
va: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.ja
va: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(ApplicationDispatcher.
java:683) at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:431) at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:355) at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:97
2) at
org.apache.struts.action.RequestProcessor.processActionForward(RequestProces
sor.java:408) at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:269)
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to