I'm new to JSP and Struts.  I'm trying to learn from a book I bought, but I'm
getting an error on my index.jsp page.  Not sure what the problem is and I've
spent all day trying to figure it out.  Any help is appreciated.

HTTP Status 500 -



type Exception report


message


description The server encountered an internal error () that prevented it from
fulfilling this request.


exception


org.apache.jasper.JasperException: Exception in JSP: /index.jsp:15

12: <hr width="100%" noshade="true">
13:
14: &#149; Add an Employee<br />
15: &#149; <html:link forward="search">Search for Employees</html:link><br />
16:
17: </body>
18: </html:html>


Stacktrace:

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)


org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)

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.computeURLWithCharEncoding(TagUtils.java:360)

org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:281)

org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:433)
             org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:315)
             org.apache.jsp.index_jsp._jspx_meth_html_link_0(index_jsp.java:123)
             org.apache.jsp.index_jsp._jspx_meth_html_html_0(index_jsp.java:96)
             org.apache.jsp.index_jsp._jspService(index_jsp.java:57)
             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:334)

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)



note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.20 logs.



Apache Tomcat/5.5.20



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

Reply via email to