You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ian Vellosa <ve...@btopenworld.com> on 2002/11/23 14:52:50 UTC
no handler for tagname='messages' on WebLogic 7.0
Hello Struts friends,
I'm sorry that I'm going to sound stupid here, so please forgive me. I have
looked though the example and searched the archives but not found the help I
needed.
I have a form that I'm posting back to. I want to display an error message
when something goes wrong. The errors are working fine, but when I try to
get a success message things go wrong.
In the Action class I have the following code:
ActionMessages successMessage = new ActionMessages();
successMessage.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("success.updatesuccess",
referenceVO.getId()));
saveMessages(request, successMessage);
Then on the jsp form I have:
<html:messages/>
<html:form>
. . .
</html:form>
When I now try to run this in WebLogic 7.0 I get the message:
weblogic.servlet.jsp.JspException: (line 25): no handler for
tagname='messages'
at
weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:1046)
at
weblogic.servlet.jsp.StandardTagLib.getTI(StandardTagLib.java:487)
<snip/>
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:251)
at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
30)
at
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(Requ
estProcessor.java:977)
at
org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.j
ava:947)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:252)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1290)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:485)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
Even when I try running the exmaple html-message.jsp I get this message.
Any words of wisdom would be much appreciated,
Thanks is advance
IV
oh yeah! I'm using a nightly build of 1.1 from the 17th Nov
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>