Guillaume Carré wrote:
>
> 2007/3/14, mraible <[EMAIL PROTECTED]>:
>> What if you use <s:if test="hasActionErrors()"> foo </s:if> - does that
>> work
>> for you as well?
>
> yes it does work as well, as advertized.
>
> And if I remove the ActionContextCleanUp filter, it doesn't work
> anymore, I have the following exception:
>
> java.lang.NullPointerException
> at
> org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:50)
> at
> org.apache.jsp.decorators.main_jsp._jspx_meth_ww_property_0(main_jsp.java:420)
>
> I'm using Tomcat 5.5.17.
>
What if you remove the <filter-mapping> for Struts' filter in your web.xml?
I have a staticFilter in my application that forwards to static resources
and doesn't hit the Struts FilterDispatcher when one is found. Maybe that's
causing my problem?
Matt
--
View this message in context:
http://www.nabble.com/Global-messages.jsp-file-included-in-a-SiteMesh-decorator-tf3400265.html#a9478424
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]