This application uses
sitemesh 2.2.1
spring 2.0.3
struts 2.0.6
struts 1.2.9
struts-menu 2.4.2.1

If I put "<s:head theme="ajax"/> in my header.jsp file I get a
Nullpointer exception.  I found this link
http://forum.springframework.org/showthread.php?t=33874 talking about
the same error message which says the fix is in spring 2.0.3.
However, I am using spring 2.0.3 and I'm not using the spring
RequestContextListener.    The problem only occurs when I put the
<s:head theme="ajax"/> in the header.jsp page, it does not happen if I
put it in the same page as the struts2 action is mapped to.  Any ideas
how to fix this or track it down further.


2007-03-18 15:14:26 StandardWrapperValve[default]: Servlet.service()
for servlet default threw exception
java.lang.NullPointerException
       at 
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:50)
       at 
org.apache.jsp.hosp.layouts.header_jsp._jspx_meth_s_head_0(header_jsp.java:177)
       at org.apache.jsp.hosp.layouts.header_jsp._jspService(header_jsp.java:68)

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

Reply via email to