p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning JavaServer Pages (http://p2p.wrox.com/forumdisplay.php?f=162)
-   -   CH19 Exception on example (http://p2p.wrox.com/showthread.php?t=28886)

kula May 3rd, 2005 02:00 PM

CH19 Exception on example
 
Hi there,

Installed tomcat 5.5, struts fine, even build.xml worked. But when I try to reference index.jsp, I get this nasty exception. Any clues.

org.apache.jasper.JasperException
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:370)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:291)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:241)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)


root cause

java.lang.NullPointerException
    org.apache.struts.taglib.TagUtils.retrieveMessageR esources(TagUtils.java:1219)
    org.apache.struts.taglib.TagUtils.message(TagUtils .java:1082)
    org.apache.struts.taglib.bean.MessageTag.doStartTa g(MessageTag.java:226)
    org.apache.jsp.index_jsp._jspx_meth_bean_message_0 (org.apache.jsp.index_jsp:129)
    org.apache.jsp.index_jsp._jspService(org.apache.js p.index_jsp:87)
    org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:322)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:291)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:241)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)

followed example, web.xml, struts-config, etc. are as per book? Has me stymied.



bressanne May 21st, 2005 02:33 AM

Thanks for your message Kola. I'll get back to you soon with a possible fix and/or explanation.



All times are GMT -4. The time now is 12:40 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.