I have an action /quadran/menu/menu.action that I can go to directly. I want
to include this in my site wide template using <s:action>. I've put the
following in my JSP to include the action:

<s:action name="menu" namespace="/menu" executeResult="true" />

This throws the following exception:

java.lang.NullPointerException
        at 
org.apache.struts2.components.ActionComponent.executeAction(ActionComponent.
java:230)
        at 
org.apache.struts2.components.ActionComponent.end(ActionComponent.java:137)
        at 
org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSuppor
t.java:35)
        at 
org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_s_action_0(main_js
p.java:157)
        at 
org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspService(main_jsp.java:90)
        at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
32)

It looks to me like it can't find the action, but yet I can navigate to it
directly...

Any help would be appreciated,

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to