facebook

Unable to deploy Struts webapp

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #261375 Reply

    amareshwar
    Member

    Hi,
    I have been using the tool for quite a while now. I recently got a new Laptop and have installed the new version of My Eclipse. Everything seem to be working alright when i deploy the old war file into my Tomcat server, But everytime i change any file and deploy the new version of war onto the server. I get the below Error when i try to access the page. I have wasted too much time figuring out a cause and would greatly appreciate any of your help.

    org.apache.jasper.JasperException
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    root cause

    java.lang.NullPointerException
    org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1056)
    org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:448)
    org.apache.struts.taglib.html.RewriteTag.doStartTag(RewriteTag.java:55)
    org.apache.jsp.form.login_jsp._jspx_meth_html_rewrite_0(login_jsp.java:266)
    org.apache.jsp.form.login_jsp._jspx_meth_html_html_0(login_jsp.java:128)
    org.apache.jsp.form.login_jsp._jspService(login_jsp.java:89)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    FYI. I use packaged deployment.

    Thanks

    #261396

    support-michael
    Keymaster

    Without seeing the organization of your webapp it is hard to tell. But a quick Google returned several similar cases of users with dorked Struts webapps. Could you have incorrectly configured the application when you switched to your new laptop?

    See comment #8 at http://forum.java.sun.com/thread.jspa?threadID=588665&messageID=3051303

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Unable to deploy Struts webapp

You must be logged in to post in the forum log in