On 10/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I have the error in several examples. The exception occurs as result
of the jsp display and not when the at action execution.

Sorry, can you clarify this - I'm not sure if you mean the action
executed first and then forwarded to the jsp where the error occurred
or whether you mean you went directly to the jsp and not via an action
at all?

Does anybody know how I can swich on the structs library log
stamps?

This depends on the servlet container and the logging implementation
you're using. For example I use the Tomcat servlet container and
"log4j" - logging software. I drop a log4j.properties configuration
file into the webapp's "WEB-INF\classes" directory to configure  the
Struts logging.

Niall

----Ursprüngliche Nachricht----
Von: [EMAIL PROTECTED]
Datum: 31.10.2006 14:58
An: "Struts Users Mailing List"<user@struts.apache.org>
Betreff: Re: Struts 1.3.5 error

On 10/31/06, Kevin Healy <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





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



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

Reply via email to