View Single Post
  #1 (permalink)  
Old May 19th, 2005, 03:26 PM
resolutions resolutions is offline
Registered User
 
Join Date: May 2005
Location: San Diego, CA, .
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ch 19 not working either...

Ok......... I skipped over my last problem(s) (ch18) and continued to chapter 19 ...
I downloaded struts 1.2.4 (same as book uses), followed directions, and got ant to do the build just fine. I go to my tomcat manager page, and see that the struts app was on there, and I go to
http://localhost:8080/struts-base/index.jsp and get a....

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
    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:125)
    org.apache.jsp.index_jsp._jspService(org.apache.js p.index_jsp:86)
    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)


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


--------------------------------------------------------------------------------

Apache Tomcat/5.5.9



sooooo..... I had a (perhaps) symilar problem with chapter 18 WebWork example, chapter 18 Spring I could not try because there is NO file that contains the properties I was instructed to change (I added an errata for this), and with chapter 19 I have this problem. So far the framework section of the book seems rather flawed to me.

Reply With Quote