0 Replies Latest reply on Jan 11, 2005 4:28 PM by Ramazan Pekin

    cookie problem! (org.apache.jasper.JasperException)

    Ramazan Pekin Newbie

      connector myconnector = home.create();
      Cookie[] cookies = request.getCookies();
      if( myconnector.checkCookies(cookies) )
      ----------------------------------------------------------
      in my connectorBean I have define this mehod
      public boolean checkCookies( Cookie[] cookies )
      -----------------------------------------------------------
      but it gives this error:

      --------------------------------------------------------------
      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.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:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


      root cause

      java.lang.reflect.UndeclaredThrowableException
      $Proxy82.checkCookies(Unknown Source)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:83)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      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:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


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

      How can I solve this problem?