View Single Post
  #1 (permalink)  
Old May 3rd, 2005, 02:00 PM
kula kula is offline
Registered User
 
Join Date: May 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.


Reply With Quote