Results 1 to 2 of 2
  1. #1
    manumathai is offline Member
    Join Date
    Sep 2012
    Posts
    1
    Rep Power
    0

    Default Getting error while going to jsp page

    This is my first post. I am working on a web application development. I am getting an error while redirecting to the jsp page

    Type Exception report

    message

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

    exception

    org.apache.jasper.JasperException: An exception occurred processing JSP page /Register.jsp at line 55

    52: List errormsgs = (List) request.getAttribute("errormsgs");
    53: if(errormsgs !=null);
    54: {
    55: Iterator items = errormsgs.iterator();
    56: while (items.hasNext()); {
    57: String msg = (String) items.next();
    58: %>


    Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handle JspException(JspServletWrapper.java:568)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:470)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
    org.netbeans.modules.web.monitor.server.MonitorFil ter.doFilter(MonitorFilter.java:393)
    root cause

    java.lang.NullPointerException
    org.apache.jsp.Register_jsp._jspService(Register_j sp.java:117)
    org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:432)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
    org.netbeans.modules.web.monitor.server.MonitorFil ter.doFilter(MonitorFilter.java:393)
    note The full stack trace of the root cause is available in the Apache Tomcat/7.0.27 logs.








    Cannot find what is wrong please help

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,036
    Rep Power
    20

    Default Re: Getting error while going to jsp page

    You've got a semi-colon on line 53.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Replies: 3
    Last Post: 09-25-2014, 04:21 PM
  2. Error while accessing a JSP page (Spring Framework)
    By new_coder in forum Web Frameworks
    Replies: 0
    Last Post: 12-15-2010, 04:14 PM
  3. Error Page in JSP Having Problems.
    By goldest in forum JavaServer Pages (JSP) and JSTL
    Replies: 6
    Last Post: 07-19-2010, 08:35 AM
  4. Replies: 0
    Last Post: 02-16-2009, 08:05 AM
  5. Common error page using struts tiles...?
    By prabhurangan in forum Web Frameworks
    Replies: 0
    Last Post: 08-28-2008, 02:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •