struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@gmail.com>
Subject Re: Struts 1.3.5 error
Date Tue, 31 Oct 2006 13:58:41 GMT
On 10/31/06, Kevin Healy <kevin.healy@claraview.com> wrote:
>
> I encounter the error appearing below when trying to run a simple example
> using Struts 1.3.5 under Tomcat 5.5.17 and JDK 1.5.
>
> The error arises when the Jasper JSP compiler encounters the following tag
> of my .jsp
>
> <html:form action="SubmitFeedback" method="post" >
>
> I've seen references to this error in other recent postings on this list
> but no definitive resolution.
>
> Any help would be greatly appreciated.

Does this happen when your action forwards to your "feedbackForm.jsp"
- or are you going directly to the jsp?

Also, are you using modules and if so what modules are you using?

Niall

> org.apache.jasper.JasperException: Module 'null' not found.
>
> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra
> pper.java:510)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 93)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> root cause
> java.lang.NullPointerException: Module 'null' not found.
>  org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:743)
>  org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:723)
>  org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:742)
>  org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:417)
>
> org.apache.jsp.feedbackForm_jsp._jspx_meth_html_form_0(org.apache.jsp.feedba
> ckForm_jsp:153)
>
> org.apache.jsp.feedbackForm_jsp._jspService(org.apache.jsp.feedbackForm_jsp:
> 105)
>  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 32)
>
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
>  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> Following is my struts-config.xml
>
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>
> <!DOCTYPE struts-config PUBLIC
>  "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
>  "http://struts.apache.org/dtds/struts-config_1_3.dtd">
>
> <struts-config>
>
>  <form-beans>
>  <form-bean name="feedbackForm" type="app.FeedbackForm">
>  </form-bean>
>  </form-beans>
>
>  <global-forwards>
>  <forward name="welcome" path="feedbackForm.jsp"/>
>  </global-forwards>
>
>  <action-mappings>
>
>  <action path="SubmitFeedback"
>  type="app.ProcessFeedbackFormAction"
>  name="feedbackForm"
>  scope="session"
>  validate="false" />
>
>
>  </action-mappings>
>
> </struts-config>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message