hardik_982 wrote:
i have decorate struts using sitemesh
and use main.jsp for that
when i try to write my any struts tags it gives error like


java.lang.NullPointerException

org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:50)

An NPE on that line is a major configuration problem. My *guess* is that you haven't got the ActionContextCleanupFilter or the filter order in web.xml is incorrect. It must match the example on the plugin page: http://struts.apache.org/2.x/docs/sitemesh-plugin.html (except substitute the sitemesh PageFilter for the FreemarkerFilter is you use JSP)

Hope that helps.
Jeromy Evans

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

Reply via email to