I get the following error when I try to deploy a Struts 2.0.6 application on Resin 3.0.21:
java.lang.NullPointerException at org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:50) at _jsp._error__jsp._jspService(common/messages.jsp:2) >From this, it looks like messages.jsp is causing the problem. In that file, I have: <%-- ActionError Messages - usually set in Actions --%> <s:if test="hasActionErrors()"> <div class="error" id="errorMessages"> <s:iterator value="actionErrors"> <c:url value= " alt="<fmt:message key="icon.warning"/>" class="icon" /> <s:property escape="false"/><br /> </s:iterator> </div> </s:if> <%-- FieldError Messages - usually set by validation rules --%> <s:if test="hasFieldErrors()"> <div class="error" id="errorMessages"> <s:iterator value="fieldErrors"> <s:iterator value="value"> <c:url value= " alt="<fmt:message key="icon.warning"/>" class="icon" /> <s:property escape="false"/><br /> </s:iterator> </s:iterator> </div> </s:if> <%-- Success Messages --%> <c:if test="${not empty messages}"> <div class="message" id="successMessages"> <c:forEach var="msg" items="${messages}"> <c:url value= " alt="<fmt:message key="icon.information"/>" class="icon" /> <c:out value="${msg}" escapeXml="false"/><br /> </c:forEach> </div> <c:remove var="messages" scope="session"/> </c:if> If I delete the contents of this file, I get: [09:31:25.218] Compiling _jsp/_error__jsp.java [09:31:25.791] java.lang.NullPointerException [09:31:25.791] at org.springframework.web.context.request.RequestContextListener.requestDestroyed(RequestContextListener.java:67) If I remove RequestContextListener from my web.xml, everything works great. This same application deploys and works fine on Tomcat. Any ideas? My guess is there's something in messages.jsp that I need to fix. Thanks, Matt -- View this message in context: http://www.nabble.com/Issues-running-Struts-2.0.6-on-Resin-3.0.21-tf3267060.html#a9081864 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]