Solved

org.apache.jasper.JasperException in Jakarta Tomcat Server for WinXP and Win2000

Posted on 2004-10-11
30
356 Views
Last Modified: 2010-03-04
Hi!

I have a web application, its Server is Jakarta Tomcat.  I´m getting this error in WinXP and Win2000 ... trying to access a jsp page by means of a call through a user name and password. The error is not presented in Win98.  I was configuring Jakarta Tomcat Server as it have to be configured, but everything is ok.  

Could you please give any solution as soon as possible??
Thanks in advance.
I´ll be wating fou you.

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
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)


root cause

javax.servlet.ServletException
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.index_jsp._jspService(index_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
      at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
      at org.apache.jsp.programAndSendMessages_jsp._jspService(programAndSendMessages_jsp.java:61)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)



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

Apache Tomcat/4.1.30
0
Comment
Question by:intanhm
  • 18
  • 12
30 Comments
 

Author Comment

by:intanhm
ID: 12281654
Please, give any answer to this email account:
abisagsanchez@intech.com.mx
Thanks in advance.

0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12281735
From stacktrace which you send it is clear that it is a problem
in programAndSendMessages_jsp.java in line 61.
check that file in work/_localhost/.... direcotry.
Could you also send your jsp page ?
0
 

Author Comment

by:intanhm
ID: 12281913
The file programAndSendMessages.jsp is in the application directory, but I don´t see what is the problem.  What file do you want?? programAndSendMessages or index jsp??
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12281991
programAndSendMessages.jsp
0
 

Author Comment

by:intanhm
ID: 12282082
<%@page contentType="text/html"%>
<%@page import="mx.com.intech.services.SmsMsg1.users.*,javax.comm.*,java.util.Date,java.text.SimpleDateFormat,java.io.*,java.util.Vector,java.util.List,java.util.ArrayList,java.util.StringTokenizer,java.util.Enumeration,java.util.Hashtable"%>

<%
    if(session.isNew()||session.getAttribute("Username")==null)
    {
        session.setAttribute("Intech.Referer","programAndsendMessages.jsp");
%>
       <jsp:forward page="index.jsp"/>
<%
    }
        JDCSMSMessages myDBAccess = new JDCSMSMessages();
        SMSProcessSendTelcel processSend=new SMSProcessSendTelcel();
       
        // Action Flags
        boolean isMessageDataPresent = false;
        boolean isAdd = false;
        boolean isUpdate = false;
        boolean isView = false;
        boolean isRemove = false;
        boolean hasMessages = false;
       
        // Error Flags
        boolean messageSent = false;
        boolean isMessageValid = true;
        boolean areNumbersValid = true;
        boolean isPeriodListValid = true;
        boolean isDataValid = true;
        boolean isSpecialDateValid = true;
        boolean portResult = true;
        boolean isMessageFound = false;
       
        boolean isMessageSend = false;
       
        SMSMessage currentMessage= null;
        SMSMessage mySelection = null;
        String[] myPeriods = null;
        List myListPeriods = null;
        List myNewNumberList = null;
        String currentNumberList = "";
        String currentHour = "";
        String currentYear3 = "";
        String currentMonth3 = "";
        String currentDay3 = "";
        String currentHour3 = "";
        String total = "0";
       
        String userSender = "";
        String num10 = "";
        String numbersSend = "";
        String[] myPeriodsHour = null;
        Date specialDate = null;
        int lineNumber = 0;
        int msgAvailables = 1;
        int msgln = 0;        
        int numbersLength;
       
        if(request.getParameter("add")!=null && request.getParameter("add").equals("Enviar Mensaje")) isAdd = true;
        if(request.getParameter("add")!=null && request.getParameter("add").equals("Enviar mensaje")) isUpdate = true;
        if(request.getParameter("view")!=null) isView = true;
        if(request.getParameter("remove")!=null) isRemove = true;
        int period = Integer.parseInt(request.getParameter("period")==null?"0":request.getParameter("period"));
       
        if(isUpdate||isAdd||isView)
        {
            Vector myVector = (Vector)session.getAttribute("myMessages");
            boolean isMessageListEmpty = request.getParameter("myMessageList")==null ? true : false;
            if(!isMessageListEmpty)
            {
                int index = Integer.parseInt(request.getParameter("myMessageList"));
                currentMessage = (SMSMessage)(myVector.elementAt(index));
                List myNumberList = currentMessage.getNumbersList();
                currentNumberList = (myNumberList.size()>0)?((SMSNumber)(myNumberList.get(0))).getNumber():"";
                for(int i=1;i<myNumberList.size();i++)
                    currentNumberList += "," + ((SMSNumber)(myNumberList.get(i))).getNumber();
                areNumbersValid = true;
            }

            int sender = 158;
           
            isMessageValid = (request.getParameter("message")!=null && !request.getParameter("message").equals("") && request.getParameter("message").length() <= sender)?true:false;
            if(isUpdate||isAdd)
                  areNumbersValid = (request.getParameter("numbersString")!=null && !request.getParameter("numbersString").equals(""))?true:false;
           
            isSpecialDateValid = true;
            if (period == 1)
              isPeriodListValid = true;
            if (period == 2)
              isPeriodListValid = !(request.getParameterValues("dayOfWeekList")== null);
            if (period == 3)
              isPeriodListValid = !(request.getParameterValues("dayOfMonthList")== null);
            if (period == 5)
            {
              isPeriodListValid = true;
              isMessageSend = true;
            }
            if (period != 5)
            {
             if (period == 4)
              isSpecialDateValid = false;
             
             boolean isSpecialDateValidTemp = true;
             
             SimpleDateFormat sdf = new SimpleDateFormat("yyyy-M-d");
             if(request.getParameter("year1")!=null && !request.getParameter("Date01").equals("0000-00-00 00:00:00"))
             {
               try{ specialDate = sdf.parse(request.getParameter("Date01"));
                    isSpecialDateValidTemp = myDBAccess.isDateValid(request.getParameter("Date01"));
                    if(request.getParameter("year2")!=null && !request.getParameter("Date02").equals("0000-00-00 00:00:00"))
                     if(request.getParameter("Date01").equals(request.getParameter("Date02")))
                      isSpecialDateValidTemp = false;
                    if(request.getParameter("year3")!=null && !request.getParameter("Date03").equals("0000-00-00 00:00:00"))
                     if(request.getParameter("Date01").equals(request.getParameter("Date03")))
                      isSpecialDateValidTemp = false;
                  }            
               catch (Exception e){ isSpecialDateValidTemp = false; }
               isSpecialDateValid = isSpecialDateValidTemp;
             }
             
             if(request.getParameter("year2")!=null && !request.getParameter("Date02").equals("0000-00-00 00:00:00") && isSpecialDateValidTemp)
             {
               try{ specialDate = sdf.parse(request.getParameter("Date02"));
                    isSpecialDateValidTemp = myDBAccess.isDateValid(request.getParameter("Date02"));
                    if(request.getParameter("year3")!=null && !request.getParameter("Date03").equals("0000-00-00 00:00:00"))
                     if(request.getParameter("Date02").equals(request.getParameter("Date03")))
                      isSpecialDateValidTemp = false;
                  }            
               catch (Exception e){ isSpecialDateValidTemp = false; }
               isSpecialDateValid = isSpecialDateValidTemp;
             }
             if(request.getParameter("year3")!=null && !request.getParameter("Date03").equals("0000-00-00 00:00:00") && isSpecialDateValidTemp)
             {
               try{ specialDate = sdf.parse(request.getParameter("Date03"));
                    isSpecialDateValidTemp = myDBAccess.isDateValid(request.getParameter("Date03")); }            
               catch (Exception e){ isSpecialDateValidTemp = false; }
               isSpecialDateValid = isSpecialDateValidTemp;
             }
             
            }
            isDataValid = isMessageValid && isPeriodListValid && areNumbersValid && isSpecialDateValid;
           
            isMessageDataPresent = true;
            if(isView)
            {
              isDataValid = true;
              isMessageValid = true;
              areNumbersValid = true;
              isSpecialDateValid = true;
            }
        }

        if((isAdd||isUpdate) && period == 5)
        {
            if (isDataValid)
            {
              msgAvailables = myDBAccess.getMsgsAvailables((String)session.getAttribute("UserId"));
              if(msgAvailables > 0)
              {
              messageSent = true;
              try{            
                  String currentNumber;
              String currentOperator1;
              StringTokenizer st = new StringTokenizer(request.getParameter("numbersString").trim(),",");
              Hashtable ht = new Hashtable();
              SMSSendPegasoTelefonica currOperator2 = null;
              SMSSendUnefon currOperator3 = null;
              SMSSendNextel currOperator4 = null;
              SMSSendIusacell currOperator5 = null;
             
              while (st.hasMoreTokens() && (msgAvailables > 0))
              {
               currentNumber = st.nextToken();
               currentOperator1 = myDBAccess.getOperator(currentNumber);
               if (((String)ht.get(currentOperator1))==null)
                 ht.put(currentOperator1,currentNumber);
               else
                 ht.put(currentOperator1,((String)ht.get(currentOperator1)) + "," + currentNumber);
               msgAvailables--;
              }
             
              //userSender = myDBAccess.getSender(Integer.parseInt((String)(session.getAttribute("UserId"))));
              Enumeration enumOperators = ht.keys();
              while (enumOperators.hasMoreElements())
              {
                String currentOp = (String)(enumOperators.nextElement());
                if(currentOp.equals("TELCEL"))
                {
                  numbersSend = (String)ht.get(currentOp);
                  processSend.sendMessage(request.getParameter("message").trim(),numbersSend,(String)session.getAttribute("Username"));
                }
                if(currentOp.equals("PEGASO")||currentOp.equals("TELEFONICA"))
                {
                  currOperator2 = new SMSSendPegasoTelefonica();
                  numbersSend = (String)ht.get(currentOp);
                  currOperator2.sendMessage(request.getParameter("message").trim(),numbersSend,(String)session.getAttribute("Username"));
                }
                if(currentOp.equals("UNEFON"))
                {
                  currOperator3 = new SMSSendUnefon();
                  numbersSend = (String)ht.get(currentOp);
                  currOperator3.sendMessage(request.getParameter("message").trim(),numbersSend,(String)session.getAttribute("Username"));
                }
                if(currentOp.equals("NEXTEL"))
                {
                  currOperator4 = new SMSSendNextel();
                  numbersSend = (String)ht.get(currentOp);
                  currOperator4.sendMessage(request.getParameter("message").trim(),numbersSend,(String)session.getAttribute("Username"));
                }              
                if(currentOp.equals("IUSACELL"))
                {
                  currOperator5 = new SMSSendIusacell();
                  numbersSend = (String)ht.get(currentOp);
                  currOperator5.sendMessage(request.getParameter("message").trim(),numbersSend,(String)session.getAttribute("Username"));
                }
                if(currentOp.equals("Unknown"))
                {
                  numbersSend = (String)ht.get(currentOp);
                  myDBAccess.insertLog((String)session.getAttribute("Username"),request.getParameter("message").trim(),numbersSend,"operator unknown");
                }
                  }
                 }catch (Exception ignore){
                      messageSent = false;
                      ignore.printStackTrace();
                  }
              }
            }
        }
       
        if(isRemove)
        {
            int index = Integer.parseInt(request.getParameter("myMessageList"));
            Vector myVector = (Vector)session.getAttribute("myMessages");
            currentMessage = (SMSMessage)(myVector.elementAt(index));
            myDBAccess.removeMessage(currentMessage.getId());
            myVector.remove(index);
            session.setAttribute("myMessages",myVector);
        }        
        if(isUpdate)
        {
            currentMessage.setMessage(request.getParameter("message").trim());
            currentMessage.setIdUser(Integer.parseInt((String)(session.getAttribute("UserId"))));
            currentMessage.setPeriod(period);
            currentNumberList = request.getParameter("numbersString").trim();
            StringTokenizer st= new StringTokenizer(request.getParameter("numbersString"),",");
            myNewNumberList = new ArrayList();
            while (st.hasMoreTokens())
            {
                myNewNumberList.add(new SMSNumber(0,st.nextToken(),"operator"));
            }
            currentMessage.setNumbersList(myNewNumberList);
            myPeriods = null;
            myListPeriods = new ArrayList();
           
            if(period != 4)
            {
              myPeriodsHour = request.getParameterValues("hourList");
             
              if (period == 1)
              {
                myListPeriods.add(new SMSDaily(0,myPeriodsHour[0]));
              }
              if (period == 2)
               if(isPeriodListValid)
               {
                  myPeriods = request.getParameterValues("dayOfWeekList");
                  for(int j=0;j<myPeriods.length;j++)
                      myListPeriods.add(new SMSWeekly(0,myPeriodsHour[0],myPeriods[j]));
               }
               else
                  myListPeriods.add(new SMSWeekly(0,myPeriodsHour[0],"none"));
                 
              if (period == 3)
               if(isPeriodListValid)
               {
                  myPeriods = request.getParameterValues("dayOfMonthList");
                  for(int j=0;j<myPeriods.length;j++)
                      myListPeriods.add(new SMSMonthly(0,myPeriodsHour[0],Integer.parseInt(myPeriods[j])));
               }
               else
                  myListPeriods.add(new SMSMonthly(0,myPeriodsHour[0],0));
            }
            else
              myListPeriods.add(new SMSDaily(0,"00:00"));

            currentMessage.setPeriodList(myListPeriods);
            currentMessage.setAddDate1(request.getParameter("Date01"));
            currentMessage.setAddDate2(request.getParameter("Date02"));
            currentMessage.setAddDate3(request.getParameter("Date03"));
           
            if(isDataValid && period != 5)
                myDBAccess.updateMessage(currentMessage,period);
        }

        if(isAdd)
        {
            Vector myVector = (Vector)session.getAttribute("myMessages");
            if (myVector==null) myVector = new Vector();
            mySelection = new SMSMessage();
            currentNumberList = request.getParameter("numbersString").trim();

            mySelection.setMessage(request.getParameter("message").trim());
            mySelection.setIdUser(Integer.parseInt((String)(session.getAttribute("UserId"))));
           
            mySelection.setPeriod(period);
            StringTokenizer st= new StringTokenizer(request.getParameter("numbersString"),",");
            myNewNumberList = new ArrayList();
            while (st.hasMoreTokens())
            {
                myNewNumberList.add(new SMSNumber(0,st.nextToken(),"operator"));
            }
            mySelection.setNumbersList(myNewNumberList);
            myPeriods = null;
            myListPeriods = new ArrayList();
           
            if(period != 4)
            {            
              myPeriodsHour = request.getParameterValues("hourList");

              if (period == 1)
                myListPeriods.add(new SMSDaily(0,myPeriodsHour[0]));
 
              if (period == 2)
               if(isPeriodListValid)
               {
                  myPeriods = request.getParameterValues("dayOfWeekList");
                  for(int j=0;j<myPeriods.length;j++)
                      myListPeriods.add(new SMSWeekly(0,myPeriodsHour[0],myPeriods[j]));
               }
               else
                  myListPeriods.add(new SMSWeekly(0,myPeriodsHour[0],"none"));
             
              if (period == 3)
               if(isPeriodListValid)
               {
                  myPeriods = request.getParameterValues("dayOfMonthList");
                  for(int j=0;j<myPeriods.length;j++)
                      myListPeriods.add(new SMSMonthly(0,myPeriodsHour[0],Integer.parseInt(myPeriods[j])));
               }
               else
                  myListPeriods.add(new SMSMonthly(0,myPeriodsHour[0],0));
            }
            else
              myListPeriods.add(new SMSDaily(0,"00:00"));
             
            mySelection.setPeriodList(myListPeriods);
           
            mySelection.setAddDate1(request.getParameter("Date01"));
            mySelection.setAddDate2(request.getParameter("Date02"));
            mySelection.setAddDate3(request.getParameter("Date03"));

            if(isDataValid && period != 5)
            {
                int myNewId = myDBAccess.addMessage(mySelection,period);
               
                if(myNewId == 0)
            {
              isMessageFound = true;
            }
            else
            {
                  mySelection.setId(myNewId);
                  myVector.add(mySelection);
                }
                session.setAttribute("myMessages",myVector);
                isMessageDataPresent = false;
            }
            currentMessage = mySelection;    
        }
       
%>
<html>
    <head>
        <title>Intech Mobile Publicity - Mensajes Programados</title>
        <SCRIPT type="text/javascript">
            function addNumberClick()
            {
                myNumber = prompt("Teclee el numero del telefono");
                if(myNumber.length != 10)
                {
                    alert("La longitud del numero debe ser de 10 digitos");
                    return;
                }
               
                if(String(myNumber) != String(parseInt(myNumber,10)))
                {
                    alert("El número no debe iniciar con cero y solo debe contener dígitos");
                    return;
                }

                myNumbersTemp = document.myForm.numbersString.value;
                if(myNumbersTemp.length > 10)
                  if(myNumbersTemp.substring(0,1) == ",")
                    myNumbersTemp = myNumbersTemp.substring(1,myNumbersTemp.length);
               
                i = 1;
                while( myNumbersTemp.length >= 10)
                {
                  myNumberTemp = myNumbersTemp.substring(0,10);
                  if(String(myNumberTemp) == String(myNumber))
                  {
                    alert("El número ya existe");
                    return;
                  }
                  if(myNumbersTemp.length > 10)
                    myNumbersTemp = myNumbersTemp.substring(11,myNumbersTemp.length);
                  else
                    myNumbersTemp = "";
                  i++;
                }
               
                document.myForm.numbersList.options[document.myForm.numbersList.length] = new Option(myNumber,myNumber,false,false);
                document.myForm.numbersString.value = document.myForm.numbersString.value + "," + myNumber;
                document.myForm.totalNumbers.value = i;
            }

            function removeNumberClick()
            {
               while(document.myForm.numbersList.selectedIndex > -1)
               {
                if(document.myForm.numbersList.selectedIndex > -1)
                {
                    document.myForm.numbersList.options[document.myForm.numbersList.selectedIndex] = null;
                }
               }
               document.myForm.numbersString.value = "";
               j = 0;
               for (var i=0; i < document.myForm.numbersList.options.length; i++)
               {
                if(document.myForm.numbersList.options[i] != null)
                {
                 document.myForm.numbersString.value += document.myForm.numbersList.options[i].value +",";
                 j++;
                }
               }
               document.myForm.totalNumbers.value = j;
               document.myForm.numbersString.value = document.myForm.numbersString.value.substring(0,document.myForm.numbersString.value.length-1);
            }

          function fieldsDisabled()
          {
                document.myForm.year1.disabled = false;
                document.myForm.month1.disabled = false;
                document.myForm.day1.disabled = false;
                document.myForm.hourList1.disabled = false;
                document.myForm.year2.disabled = false;
                document.myForm.month2.disabled = false;
                document.myForm.day2.disabled = false;
                document.myForm.hourList2.disabled = false;
                document.myForm.year3.disabled = false;
                document.myForm.month3.disabled = false;
                document.myForm.day3.disabled = false;
                document.myForm.hourList3.disabled = false;         
          }

            function fieldsEnabled2(pInt)
            {
             document.myForm.period[pInt-1].checked = true;
             fieldsEnabled(pInt);
            }

            function fieldsEnabled(pInt)
            {
             
              if(pInt == 1)
              {
                document.myForm.hourList.disabled = false;
                document.myForm.dayOfWeekList.disabled = true;
                document.myForm.dayOfMonthList.disabled = true;
                fieldsDisabled();
              }
              if(pInt == 2)
              {
                document.myForm.hourList.disabled = false;
                document.myForm.dayOfWeekList.disabled = false;
                document.myForm.dayOfMonthList.disabled = true;
                fieldsDisabled();
              }
              if(pInt == 3)
              {
                document.myForm.hourList.disabled = false;
                document.myForm.dayOfWeekList.disabled = true;
                document.myForm.dayOfMonthList.disabled = false;
                fieldsDisabled();
              }
              if(pInt == 4)
              {
                document.myForm.hourList.disabled = true;
                document.myForm.dayOfWeekList.disabled = true;
                document.myForm.dayOfMonthList.disabled = true;
                document.myForm.year1.disabled = true;
                document.myForm.month1.disabled = true;
                document.myForm.day1.disabled = true;
                document.myForm.hourList1.disabled = true;
                document.myForm.year2.disabled = true;
                document.myForm.month2.disabled = true;
                document.myForm.day2.disabled = true;
                document.myForm.hourList2.disabled = true;
                document.myForm.year3.disabled = true;
                document.myForm.month3.disabled = true;
                document.myForm.day3.disabled = true;
                document.myForm.hourList3.disabled = true;
              }
              if(pInt == 5)
              {
                document.myForm.hourList.disabled = true;
                document.myForm.dayOfWeekList.disabled = true;
                document.myForm.dayOfMonthList.disabled = true;
                fieldsDisabled();
              }
             
            }

            function textCounter(textMsg,sizeMsg,maxlimit) {
           
          if (textMsg.value.length > maxlimit)
            textMsg.value = textMsg.value.substring(0, maxlimit);
          else
            sizeMsg.value = 0 + textMsg.value.length;
          var ch;
          var sout = "";
          flag = 1;
          
          for (var i = 0; i < textMsg.value.length; i++) {
             ch = textMsg.value.charAt(i);
             if ((ch >= "a") && (ch <= "z"))
                sout += ch;
             else if ((ch >= "A") && (ch <= "Z"))
                     sout += ch;
                  else if ((ch >= "0") && (ch <= "9"))
                         sout += ch;
                       else if( (ch == "$")||(ch == " ")||(ch == "!")||(ch == "#")||(ch == "%")||(ch == "&")||(ch == "(")||(ch == ")")||(ch == "=")||(ch == "+")||(ch == "\r")||(ch == "\n")||(ch == "\"") )
                              sout += ch;
                            else if( (ch == "-")||(ch == "*")||(ch == ":")||(ch == ",")||(ch == ";")||(ch == ".")||(ch == "/")||(ch == "?")||(ch == "'")||(ch == "<")||(ch == ">") )
                                   sout += ch;
                                 else
                                     flag = 0;

          }
            if(flag == 0)
            {
              textMsg.value = sout;
            }
   
            }
           
          function updateDate(cDate,wYear,wMonth,wDay,wHour)
          {
            if(wYear.value != "0")
              cDate.value = wYear.value + cDate.value.substring(4,19);
            else
              cDate.value = "0000" + cDate.value.substring(4,19);
            if(wMonth.value != "0")
              cDate.value = cDate.value.substring(0,5) + wMonth.value + cDate.value.substring(7,19);
            else
              cDate.value = cDate.value.substring(0,5) + "00" + cDate.value.substring(7,19);
            if(wDay.value != "0")
              cDate.value = cDate.value.substring(0,8) + wDay.value + cDate.value.substring(10,19);
            else
              cDate.value = cDate.value.substring(0,8) + "00" + cDate.value.substring(10,19);
            if(wHour.value != "0")
              cDate.value = cDate.value.substring(0,11) + wHour.value;
            else
              cDate.value = cDate.value.substring(0,11) + "00:00:00";
          }

function searchNumberClick(userId)
{
 pagina = "searchDB.jsp?UserId="+userId;
 window.open(pagina,"","toolbar=yes,status=yes,scrollbars=yes,resizable=yes");
}

function searchNumberAdd()
{
 i = 0;
 customerProfile = 0;
 
 if(document.myForm.numbersString.value.length > 10)
  if(document.myForm.numbersString.value.substring(0,1) == ",")
   document.myForm.numbersString.value = document.myForm.numbersString.value.substring(1,document.myForm.numbersString.value.length);
 
 totalMsg = document.myForm.msgToSend.value;
 
 myNumbersTemp = document.myForm.numbersString.value;
 
  while( myNumbersTemp.length >= 10)
   {
    totalMsg--;
    if(myNumbersTemp.length > 10)
       myNumbersTemp = myNumbersTemp.substring(11,myNumbersTemp.length);
    else
       myNumbersTemp = "";
   }  
 
 numbers = document.myForm.numbersString2.value.substring(1,document.myForm.numbersString2.value.length);
 
 while( (numbers.length >= 10) && (totalMsg>0))
 {
  myNumber = numbers.substring(0,10);
  customerProfile = 0;
 
  myNumbersTemp = document.myForm.numbersString.value;
  if(numbers.length > 10)
  {
   if(numbers.substring(10,11) == "N")
   {
    numbers = numbers.substring(12,numbers.length);
    customerProfile = 1;
   }
   else
    numbers = numbers.substring(11,numbers.length);
  }
  else
    numbers = "";
 
  numberFound = 0;
  while( myNumbersTemp.length >= 10)
   {
    myNumberTemp = myNumbersTemp.substring(0,10);
    if(String(myNumberTemp) == String(myNumber))
    {
     numberFound = 1;
     break;
    }
    if(myNumbersTemp.length > 10)
       myNumbersTemp = myNumbersTemp.substring(11,myNumbersTemp.length);
    else
       myNumbersTemp = "";
   }
  if(numberFound == 0)
  {
   j = document.myForm.numbersList.options.length;
   
   if(customerProfile == 1)
    document.myForm.numbersList.options[j] = new Option(myNumber.substring(0,3)+"*******",myNumber,false,false);
   else
    document.myForm.numbersList.options[j] = new Option(myNumber,myNumber,false,false);
   
   document.myForm.numbersString.value = document.myForm.numbersString.value + "," + myNumber;
   i = j + 1;
   totalMsg--;
  }
 }
 if(i>0)
   document.myForm.totalNumbers.value = i;
}

function searchMsgSentClick(userId)
{
 if(userId=="adm")
  pagina = "searchMsgSentAdm.jsp?UserId="+userId;
 else
  pagina = "searchMsgSent.jsp?UserId="+userId;
 window.open(pagina,"","toolbar=yes,status=yes,scrollbars=yes,resizable=yes");
}

function statisticsDB()
{
 pagina = "statisticsDB.jsp";
 window.open(pagina,"","toolbar=yes,status=yes,scrollbars=yes,resizable=yes");
}

        </SCRIPT>
    </head>
 <BODY BGCOLOR="silver" TEXT="blue">

<CENTER>
<H1><IMG SRC="images/logo_1.gif" ALIGN="left">  Mobile Publicity 1.1 </H1>
</CENTER>
 
<MARQUEE WIDTH="75%" HEIGHT=50> Contacting to Everyone, Everywhere, Everytime </MARQUEE>
<jsp:include page="menu.jsp"/>
       
<HR>
<TABLE>
<TR><TD WIDTH="4%"></TD>
<TD WIDTH="3%"></TD>
<TD>
<TABLE>
<TR>
  <TD Align = CENTER>
    <% if( isMessageFound ) out.println( "<FONT size=\"2\" COLOR=\"RED\" > El Mensaje ya existe</FONT><BR>" ); %>
    <%if(!portResult) out.println("<FONT size=\"2\" COLOR=\"BLUE\" > Error al enviar el mensaje(Telcel), favor de notificarlo (adm_mp@intech.com.mx)  </FONT>");%>
    <% if((msgAvailables <= 0) && !messageSent ) out.println("<FONT size=\"2\" COLOR=\"BLUE\">No tienes saldo.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>");%>
    <%if(messageSent && isDataValid && portResult) out.println("<FONT size=\"2\" COLOR=\"BLUE\" > El mensaje fue enviado correctamente !! </FONT>");%>
    <%if(!isMessageValid && (msgAvailables > 0)) out.println("<FONT size=\"2\" COLOR=\"RED\" > Por favor escriba su mensaje (158 caracteres máximo) </FONT><BR>");%>
    <%if(!areNumbersValid && (msgAvailables > 0)) out.println("<FONT size=\"2\" COLOR=\"RED\" > Por favor escriba el número de teléfono </FONT><BR>");%>
    <%if((isAdd && (msgAvailables > 0)) && !isPeriodListValid) out.println("<FONT size=\"2\" COLOR=\"RED\" > Por favor selecciona una opcion de la lista de periodos </FONT><BR>");%>
    <% if(isUpdate && !isPeriodListValid) out.println("<FONT size= \"2\" COLOR=\"RED\" > Por favor selecciona una opcion de la lista de periodos </FONT><BR>");%>
    <%if(!isSpecialDateValid && (msgAvailables > 0)) out.println("<FONT size=\"2\" COLOR=\"RED\" > Por favor escriba una fecha válida</FONT><BR>");%>
  </TD>
</TR>
<TR>
<TD>
   <FORM action="programAndSendMessages.jsp" method="POST" name="myForm">
   <%
     hasMessages = myDBAccess.hasMessages(Integer.parseInt((String)(session.getAttribute("UserId"))));
   %>
            <FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Mensajes programados :</font>
            <SELECT name="myMessageList" style="width:300">
            <%    
                Vector myMessages;
                myMessages = myDBAccess.getMessages(Integer.parseInt((String)(session.getAttribute("UserId"))));
                session.setAttribute("myMessages",myMessages);
                for(int i =0; i<myMessages.size();i++)
                {
                   SMSMessage myMessage = (SMSMessage)(myMessages.elementAt(i));
            %>
                <OPTION value=<%out.print("'"+i+"'");
                if( isMessageDataPresent )
                {
                 if(myMessage.getMessage().equals(currentMessage.getMessage()))
                    out.print(" SELECTED");
                }
             %>>
                    <%out.print(myMessage.getMessage());%>
                </OPTION>
            <%
                }
            %>
            </SELECT>
            <INPUT TYPE="submit" NAME="view" VALUE="Consultar" <%if(!hasMessages) out.print("disabled");%>>
   <br>
   <HR>
   <%
   userSender = myDBAccess.getSender(Integer.parseInt((String)(session.getAttribute("UserId"))));
   %>
   <FONT color=blue face='Arial, Helvetica, sans-serif' size=2>
    Escriba su mensaje (158 caracteres máximo)</font><BR/>
    <TEXTAREA cols=40 rows=4 name='message'
    onKeyDown="textCounter(document.myForm.message,document.myForm.sizebox,158)"
    onKeyUp="textCounter(document.myForm.message,document.myForm.sizebox,158)"><%if( isMessageDataPresent )  out.print(currentMessage.getMessage());%></TEXTAREA><BR/>
    <FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Su mensaje tiene&nbsp;
    <INPUT disabled type="text" name="sizebox" <%if( isMessageDataPresent )  out.print("value="+currentMessage.getMessage().length()); else out.print("value=0");%> size=3>&nbsp;caracteres</font>
    <BR/>
    <BR>
    <FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Agregar números de teléfono :</font>
    <BR/>
    <TABLE>
        <TR><TD>
        <SELECT multiple name='numbersList' size = 6 style="width:200; left" onchange="numbersListChange()">
        <%
                        if(isMessageDataPresent)
                        {        
                            List myNumbersList = currentMessage.getNumbersList();
                            currentNumberList = "";
                            for(int i=0;i<myNumbersList.size();i++)
                            {
                                String myOption = "<OPTION value='";
                                myOption += ((SMSNumber)(myNumbersList.get(i))).getNumber() + "'>";
                                myOption += (String)myDBAccess.validNumber( ((SMSNumber)(myNumbersList.get(i))).getNumber(), (String)session.getAttribute("Username") );
                                myOption += "</OPTION><BR/>";
                                out.print(myOption);
                                currentNumberList = currentNumberList + "," + ((SMSNumber)(myNumbersList.get(i))).getNumber();
                            }
                            total = Integer.toString(myNumbersList.size());
                        }
                    %>

         </SELECT></TD>
            <TD>
                &nbsp;&nbsp;<INPUT type='button' name=addNumber value="Agregar Número" onclick="addNumberClick()"><BR>
                &nbsp;&nbsp;<INPUT type='button' name=removeNumber value="Eliminar Número(s)" onclick="removeNumberClick()">
                <BR>&nbsp;&nbsp;
          <%
          out.print("<INPUT type='button' name=searchNumber value='Busqueda por categoria' onclick='searchNumberClick(\""+session.getAttribute("Username")+"\")'>");
          %>                
            </TD>
            </TR>
            </TABLE>
    <FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Total de números&nbsp;</font>
    <INPUT disabled type="text" name="totalNumbers" <%if( isMessageDataPresent )  out.print("value="+total); else out.print("value=0");%> size=3>
    <BR/>
    <INPUT type='hidden' name='numbersString2' value = ''>
    <INPUT type='hidden' name='numbersString' value = '<%if(isMessageDataPresent) out.print(currentNumberList);%>'>
            <BR>
            <HR>
            <FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Programación del mensaje:</font>
            <BR>
            <BR>
            <TABLE border="2" cellspacing="0" cellpadding="2" bordercolor="#003399">
                <TR bgcolor="#0033CC">
                    <TD><INPUT type=RADIO name='period' value='1' onclick='fieldsEnabled(1)' CHECKED><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><a onclick='fieldsEnabled2(1)'>Diario&nbsp;&nbsp;</a></TD>
                    <TD><INPUT type=RADIO name='period' value='2' onclick='fieldsEnabled(2)' <%if(isMessageDataPresent && currentMessage.getPeriod()==2) out.print("CHECKED");%>><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><a onclick='fieldsEnabled2(2)'>Semanal&nbsp;</a></TD>
                    <TD><INPUT type=RADIO name='period' value='3' onclick='fieldsEnabled(3)' <%if(isMessageDataPresent && currentMessage.getPeriod()==3) out.print("CHECKED");%>><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><a onclick='fieldsEnabled2(3)'>Mensual&nbsp;&nbsp;</a></TD>
                    <TD><INPUT type=RADIO name='period' value='5' onclick='fieldsEnabled(4)' <%if(isMessageDataPresent && currentMessage.getPeriod()==5) out.print("CHECKED");%>><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><a onclick='fieldsEnabled2(4)'>Ahora&nbsp;</a></td>
                    <td><INPUT type=RADIO name='period' value='4' onclick='fieldsEnabled(5)' <%if(isMessageDataPresent && currentMessage.getPeriod()==4) out.print("CHECKED");%>><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><a onclick='fieldsEnabled2(5)'>Fechas especiales</a>
                    </TD>
                </TR>
               
     <TR bgcolor='#FFFFFF'>
                  <TD align=center><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Hora:
                        <SELECT name='hourList' size='4' <%if(isMessageDataPresent) {if(currentMessage.getPeriod()>3) out.print("disabled");} %>>
                            <OPTION value='06:00:00' SELECTED>6:00</OPTION>
                         <%if(isMessageDataPresent)
                           {
                            List myHourList = currentMessage.getPeriodList();
                            if(currentMessage.getPeriod()==1)
                                currentHour = ((SMSDaily)(myHourList.get(0))).getHora();
                            if(currentMessage.getPeriod()==2)
                                currentHour = ((SMSWeekly)(myHourList.get(0))).getHora();
                            if(currentMessage.getPeriod()==3)
                                currentHour = ((SMSMonthly)(myHourList.get(0))).getHora();
                           }
                          %>                            
                            <OPTION value='07:00:00' <%if(currentHour.equals("07:00:00")) out.print("SELECTED");%>>7:00</OPTION>
                            <OPTION value='08:00:00' <%if(currentHour.equals("08:00:00")) out.print("SELECTED");%>>8:00</OPTION>
                            <OPTION value='09:00:00' <%if(currentHour.equals("09:00:00")) out.print("SELECTED");%>>9:00</OPTION>
                            <OPTION value='10:00:00' <%if(currentHour.equals("10:00:00")) out.print("SELECTED");%>>10:00</OPTION>
                            <OPTION value='11:00:00' <%if(currentHour.equals("11:00:00")) out.print("SELECTED");%>>11:00</OPTION>
                            <OPTION value='12:00:00' <%if(currentHour.equals("12:00:00")) out.print("SELECTED");%>>12:00</OPTION>
                            <OPTION value='13:00:00' <%if(currentHour.equals("13:00:00")) out.print("SELECTED");%>>13:00</OPTION>
                            <OPTION value='14:00:00' <%if(currentHour.equals("14:00:00")) out.print("SELECTED");%>>14:00</OPTION>
                            <OPTION value='15:00:00' <%if(currentHour.equals("15:00:00")) out.print("SELECTED");%>>15:00</OPTION>
                            <OPTION value='16:00:00' <%if(currentHour.equals("16:00:00")) out.print("SELECTED");%>>16:00</OPTION>
                            <OPTION value='17:00:00' <%if(currentHour.equals("17:00:00")) out.print("SELECTED");%>>17:00</OPTION>
                            <OPTION value='18:00:00' <%if(currentHour.equals("18:00:00")) out.print("SELECTED");%>>18:00</OPTION>                            
                            <OPTION value='19:00:00' <%if(currentHour.equals("19:00:00")) out.print("SELECTED");%>>19:00</OPTION>
                            <OPTION value='20:00:00' <%if(currentHour.equals("20:00:00")) out.print("SELECTED");%>>20:00</OPTION>
                            <OPTION value='21:00:00' <%if(currentHour.equals("21:00:00")) out.print("SELECTED");%>>21:00</OPTION>
                        </SELECT>
                    </TD>
                    <TD align=center><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;Día(s)
                        <SELECT name='dayOfWeekList' multiple size='4' <%if(isMessageDataPresent) {if(currentMessage.getPeriod()!=2) out.print("disabled");} else out.print("disabled");%>>
                            <OPTION value='Lunes' <%if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Lunes"))) out.print("SELECTED");%>>Lunes</OPTION>
                            <OPTION value='Martes' <%if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Martes"))) out.print("SELECTED");%>>Martes</OPTION>
                            <OPTION value='Miercoles' <%if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Miercoles"))) out.print("SELECTED");%>>Miercoles</OPTION>
                            <OPTION value='Jueves' <%if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Jueves"))) out.print("SELECTED");%>>Jueves</OPTION>
                            <OPTION value='Viernes' <%if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Viernes"))) out.print("SELECTED");%>>Viernes</OPTION>
                            <OPTION value='Sabado' <%if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Sabado"))) out.print("SELECTED");%>>Sabado</OPTION>
                            <OPTION value='Domingo' <%if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Domingo"))) out.print("SELECTED");%>>Domingo</OPTION>
                        </SELECT>
                    </TD>
                    <TD align=center><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;&nbsp;&nbsp;Día(s)
                    &nbsp;&nbsp;
                        <SELECT name='dayOfMonthList' multiple size='4' <%if(isMessageDataPresent) {if(currentMessage.getPeriod()!=3) out.print("disabled");} else out.print("disabled");%>>
                            <OPTION value='1' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",1))) out.print("SELECTED");%>>1</OPTION>
                            <OPTION value='2' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",2))) out.print("SELECTED");%>>2</OPTION>
                            <OPTION value='3' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",3))) out.print("SELECTED");%>>3</OPTION>
                            <OPTION value='4' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",4))) out.print("SELECTED");%>>4</OPTION>
                            <OPTION value='5' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",5))) out.print("SELECTED");%>>5</OPTION>
                            <OPTION value='6' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",6))) out.print("SELECTED");%>>6</OPTION>
                            <OPTION value='7' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",7))) out.print("SELECTED");%>>7</OPTION>
                            <OPTION value='8' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",8))) out.print("SELECTED");%>>8</OPTION>
                            <OPTION value='9' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",9))) out.print("SELECTED");%>>9</OPTION>
                            <OPTION value='10' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",10))) out.print("SELECTED");%>>10</OPTION>
                            <OPTION value='11' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",11))) out.print("SELECTED");%>>11</OPTION>
                            <OPTION value='12' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",12))) out.print("SELECTED");%>>12</OPTION>
                            <OPTION value='13' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",13))) out.print("SELECTED");%>>13</OPTION>
                            <OPTION value='14' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",14))) out.print("SELECTED");%>>14</OPTION>
                            <OPTION value='15' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",15))) out.print("SELECTED");%>>15</OPTION>
                            <OPTION value='16' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",16))) out.print("SELECTED");%>>16</OPTION>
                            <OPTION value='17' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",17))) out.print("SELECTED");%>>17</OPTION>
                            <OPTION value='18' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",18))) out.print("SELECTED");%>>18</OPTION>
                            <OPTION value='19' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",19))) out.print("SELECTED");%>>19</OPTION>
                            <OPTION value='20' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",20))) out.print("SELECTED");%>>20</OPTION>
                            <OPTION value='21' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",21))) out.print("SELECTED");%>>21</OPTION>
                            <OPTION value='22' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",22))) out.print("SELECTED");%>>22</OPTION>
                            <OPTION value='23' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",23))) out.print("SELECTED");%>>23</OPTION>
                            <OPTION value='24' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",24))) out.print("SELECTED");%>>24</OPTION>
                            <OPTION value='25' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",25))) out.print("SELECTED");%>>25</OPTION>
                            <OPTION value='26' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",26))) out.print("SELECTED");%>>26</OPTION>
                            <OPTION value='27' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",27))) out.print("SELECTED");%>>27</OPTION>
                            <OPTION value='28' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",28))) out.print("SELECTED");%>>28</OPTION>
                            <OPTION value='29' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",29))) out.print("SELECTED");%>>29</OPTION>
                            <OPTION value='30' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",30))) out.print("SELECTED");%>>30</OPTION>
                            <OPTION value='31' <%if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",31))) out.print("SELECTED");%>>31</OPTION>
                        </SELECT>
                    </TD>
                    <TD>&nbsp;&nbsp;</td>
                    <td>
                   
                    <table>
                    <tr><td>
                   
                <%if(isMessageDataPresent)
                  {
                   currentYear3 = currentMessage.getAddDate1().substring(0,4);
                   currentMonth3 = currentMessage.getAddDate1().substring(5,7);
                   currentDay3 = currentMessage.getAddDate1().substring(8,10);
                   currentHour3 = currentMessage.getAddDate1().substring(11,13);
                  }
                    %><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;Día:
                    <select onchange="updateDate(document.myForm.Date01,document.myForm.year1,document.myForm.month1,document.myForm.day1,document.myForm.hourList1)" name="day1" <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                <option value="0">
                <option value="01" <%if(isMessageDataPresent && currentDay3.equals("01")) out.print("SELECTED");%>>01
                <option value="02" <%if(isMessageDataPresent && currentDay3.equals("02")) out.print("SELECTED");%>>02
                <option value="03" <%if(isMessageDataPresent && currentDay3.equals("03")) out.print("SELECTED");%>>03
                <option value="04" <%if(isMessageDataPresent && currentDay3.equals("04")) out.print("SELECTED");%>>04
                <option value="05" <%if(isMessageDataPresent && currentDay3.equals("05")) out.print("SELECTED");%>>05
                <option value="06" <%if(isMessageDataPresent && currentDay3.equals("06")) out.print("SELECTED");%>>06
                <option value="07" <%if(isMessageDataPresent && currentDay3.equals("07")) out.print("SELECTED");%>>07
                <option value="08" <%if(isMessageDataPresent && currentDay3.equals("08")) out.print("SELECTED");%>>08
                <option value="09" <%if(isMessageDataPresent && currentDay3.equals("09")) out.print("SELECTED");%>>09
                <option value="10" <%if(isMessageDataPresent && currentDay3.equals("10")) out.print("SELECTED");%>>10
                <option value="11" <%if(isMessageDataPresent && currentDay3.equals("11")) out.print("SELECTED");%>>11
                <option value="12" <%if(isMessageDataPresent && currentDay3.equals("12")) out.print("SELECTED");%>>12
                <option value="13" <%if(isMessageDataPresent && currentDay3.equals("13")) out.print("SELECTED");%>>13
                <option value="14" <%if(isMessageDataPresent && currentDay3.equals("14")) out.print("SELECTED");%>>14
                <option value="15" <%if(isMessageDataPresent && currentDay3.equals("15")) out.print("SELECTED");%>>15
                <option value="16" <%if(isMessageDataPresent && currentDay3.equals("16")) out.print("SELECTED");%>>16
                <option value="17" <%if(isMessageDataPresent && currentDay3.equals("17")) out.print("SELECTED");%>>17
                <option value="18" <%if(isMessageDataPresent && currentDay3.equals("18")) out.print("SELECTED");%>>18
                <option value="19" <%if(isMessageDataPresent && currentDay3.equals("19")) out.print("SELECTED");%>>19
                <option value="20" <%if(isMessageDataPresent && currentDay3.equals("20")) out.print("SELECTED");%>>20
                <option value="21" <%if(isMessageDataPresent && currentDay3.equals("21")) out.print("SELECTED");%>>21
                <option value="22" <%if(isMessageDataPresent && currentDay3.equals("22")) out.print("SELECTED");%>>22
                <option value="23" <%if(isMessageDataPresent && currentDay3.equals("23")) out.print("SELECTED");%>>23
                <option value="24" <%if(isMessageDataPresent && currentDay3.equals("24")) out.print("SELECTED");%>>24
                <option value="25" <%if(isMessageDataPresent && currentDay3.equals("25")) out.print("SELECTED");%>>25
                <option value="26" <%if(isMessageDataPresent && currentDay3.equals("26")) out.print("SELECTED");%>>26
                <option value="27" <%if(isMessageDataPresent && currentDay3.equals("27")) out.print("SELECTED");%>>27
                <option value="28" <%if(isMessageDataPresent && currentDay3.equals("28")) out.print("SELECTED");%>>28
                <option value="29" <%if(isMessageDataPresent && currentDay3.equals("29")) out.print("SELECTED");%>>29
                <option value="30" <%if(isMessageDataPresent && currentDay3.equals("30")) out.print("SELECTED");%>>30
                <option value="31" <%if(isMessageDataPresent && currentDay3.equals("31")) out.print("SELECTED");%>>31
                </select></td>
                <td><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;Mes:
                <select onchange="updateDate(document.myForm.Date01,document.myForm.year1,document.myForm.month1,document.myForm.day1,document.myForm.hourList1)" name="month1" <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                <option value="0">
                <option value="01" <%if(isMessageDataPresent && currentMonth3.equals("01")) out.print("SELECTED");%>>enero
                <option value="02" <%if(isMessageDataPresent && currentMonth3.equals("02")) out.print("SELECTED");%>>febrero
                <option value="03" <%if(isMessageDataPresent && currentMonth3.equals("03")) out.print("SELECTED");%>>marzo
                <option value="04" <%if(isMessageDataPresent && currentMonth3.equals("04")) out.print("SELECTED");%>>abril
                <option value="05" <%if(isMessageDataPresent && currentMonth3.equals("05")) out.print("SELECTED");%>>mayo
                <option value="06" <%if(isMessageDataPresent && currentMonth3.equals("06")) out.print("SELECTED");%>>junio
                <option value="07" <%if(isMessageDataPresent && currentMonth3.equals("07")) out.print("SELECTED");%>>julio
                <option value="08" <%if(isMessageDataPresent && currentMonth3.equals("08")) out.print("SELECTED");%>>agosto
                <option value="09" <%if(isMessageDataPresent && currentMonth3.equals("09")) out.print("SELECTED");%>>septiembre
                <option value="10" <%if(isMessageDataPresent && currentMonth3.equals("10")) out.print("SELECTED");%>>octubre
                <option value="11" <%if(isMessageDataPresent && currentMonth3.equals("11")) out.print("SELECTED");%>>noviembre
                <option value="12" <%if(isMessageDataPresent && currentMonth3.equals("12")) out.print("SELECTED");%>>diciembre
                </select></td>
                    <td><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;Año:
                <select onchange="updateDate(document.myForm.Date01,document.myForm.year1,document.myForm.month1,document.myForm.day1,document.myForm.hourList1)" name="year1" <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                <option value="0">
                <option value="2003" <%if(isMessageDataPresent && currentYear3.equals("2003")) out.print("SELECTED");%>>2003
                <option value="2004" <%if(isMessageDataPresent && currentYear3.equals("2004")) out.print("SELECTED");%>>2004
                </select></td>                
                <td><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;Hora:
                        <SELECT onchange="updateDate(document.myForm.Date01,document.myForm.year1,document.myForm.month1,document.myForm.day1,document.myForm.hourList1)" name='hourList1' <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                            <OPTION value='06:00:00' <%if(isMessageDataPresent && currentHour3.equals("06")) out.print("SELECTED");%>>6:00</OPTION>
                            <OPTION value='07:00:00' <%if(isMessageDataPresent && currentHour3.equals("07")) out.print("SELECTED");%>>7:00</OPTION>
                            <OPTION value='08:00:00' <%if(isMessageDataPresent && currentHour3.equals("08")) out.print("SELECTED");%>>8:00</OPTION>
                            <OPTION value='09:00:00' <%if(isMessageDataPresent && currentHour3.equals("09")) out.print("SELECTED");%>>9:00</OPTION>
                            <OPTION value='10:00:00' <%if(isMessageDataPresent && currentHour3.equals("10")) out.print("SELECTED");%>>10:00</OPTION>
                            <OPTION value='11:00:00' <%if(isMessageDataPresent && currentHour3.equals("11")) out.print("SELECTED");%>>11:00</OPTION>
                            <OPTION value='12:00:00' <%if(isMessageDataPresent && currentHour3.equals("12")) out.print("SELECTED");%>>12:00</OPTION>
                            <OPTION value='13:00:00' <%if(isMessageDataPresent && currentHour3.equals("13")) out.print("SELECTED");%>>13:00</OPTION>
                            <OPTION value='14:00:00' <%if(isMessageDataPresent && currentHour3.equals("14")) out.print("SELECTED");%>>14:00</OPTION>
                            <OPTION value='15:00:00' <%if(isMessageDataPresent && currentHour3.equals("15")) out.print("SELECTED");%>>15:00</OPTION>
                            <OPTION value='16:00:00' <%if(isMessageDataPresent && currentHour3.equals("16")) out.print("SELECTED");%>>16:00</OPTION>
                            <OPTION value='17:00:00' <%if(isMessageDataPresent && currentHour3.equals("17")) out.print("SELECTED");%>>17:00</OPTION>
                            <OPTION value='18:00:00' <%if(isMessageDataPresent && currentHour3.equals("18")) out.print("SELECTED");%>>18:00</OPTION>                            
                            <OPTION value='19:00:00' <%if(isMessageDataPresent && currentHour3.equals("19")) out.print("SELECTED");%>>19:00</OPTION>
                            <OPTION value='20:00:00' <%if(isMessageDataPresent && currentHour3.equals("20")) out.print("SELECTED");%>>20:00</OPTION>
                            <OPTION value='21:00:00' <%if(isMessageDataPresent && currentHour3.equals("21")) out.print("SELECTED");%>>21:00</OPTION>
                        </SELECT></td></tr>
                    <tr><td>
                <%if(isMessageDataPresent)
                  {
                   currentYear3 = currentMessage.getAddDate2().substring(0,4);
                   currentMonth3 = currentMessage.getAddDate2().substring(5,7);
                   currentDay3 = currentMessage.getAddDate2().substring(8,10);
                   currentHour3 = currentMessage.getAddDate2().substring(11,13);
                  }
                    %>
                    <select onchange="updateDate(document.myForm.Date02,document.myForm.year2,document.myForm.month2,document.myForm.day2,document.myForm.hourList2)" name="day2" <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                <option value="0">
                <option value="01" <%if(isMessageDataPresent && currentDay3.equals("01")) out.print("SELECTED");%>>01
                <option value="02" <%if(isMessageDataPresent && currentDay3.equals("02")) out.print("SELECTED");%>>02
                <option value="03" <%if(isMessageDataPresent && currentDay3.equals("03")) out.print("SELECTED");%>>03
                <option value="04" <%if(isMessageDataPresent && currentDay3.equals("04")) out.print("SELECTED");%>>04
                <option value="05" <%if(isMessageDataPresent && currentDay3.equals("05")) out.print("SELECTED");%>>05
                <option value="06" <%if(isMessageDataPresent && currentDay3.equals("06")) out.print("SELECTED");%>>06
                <option value="07" <%if(isMessageDataPresent && currentDay3.equals("07")) out.print("SELECTED");%>>07
                <option value="08" <%if(isMessageDataPresent && currentDay3.equals("08")) out.print("SELECTED");%>>08
                <option value="09" <%if(isMessageDataPresent && currentDay3.equals("09")) out.print("SELECTED");%>>09
                <option value="10" <%if(isMessageDataPresent && currentDay3.equals("10")) out.print("SELECTED");%>>10
                <option value="11" <%if(isMessageDataPresent && currentDay3.equals("11")) out.print("SELECTED");%>>11
                <option value="12" <%if(isMessageDataPresent && currentDay3.equals("12")) out.print("SELECTED");%>>12
                <option value="13" <%if(isMessageDataPresent && currentDay3.equals("13")) out.print("SELECTED");%>>13
                <option value="14" <%if(isMessageDataPresent && currentDay3.equals("14")) out.print("SELECTED");%>>14
                <option value="15" <%if(isMessageDataPresent && currentDay3.equals("15")) out.print("SELECTED");%>>15
                <option value="16" <%if(isMessageDataPresent && currentDay3.equals("16")) out.print("SELECTED");%>>16
                <option value="17" <%if(isMessageDataPresent && currentDay3.equals("17")) out.print("SELECTED");%>>17
                <option value="18" <%if(isMessageDataPresent && currentDay3.equals("18")) out.print("SELECTED");%>>18
                <option value="19" <%if(isMessageDataPresent && currentDay3.equals("19")) out.print("SELECTED");%>>19
                <option value="20" <%if(isMessageDataPresent && currentDay3.equals("20")) out.print("SELECTED");%>>20
                <option value="21" <%if(isMessageDataPresent && currentDay3.equals("21")) out.print("SELECTED");%>>21
                <option value="22" <%if(isMessageDataPresent && currentDay3.equals("22")) out.print("SELECTED");%>>22
                <option value="23" <%if(isMessageDataPresent && currentDay3.equals("23")) out.print("SELECTED");%>>23
                <option value="24" <%if(isMessageDataPresent && currentDay3.equals("24")) out.print("SELECTED");%>>24
                <option value="25" <%if(isMessageDataPresent && currentDay3.equals("25")) out.print("SELECTED");%>>25
                <option value="26" <%if(isMessageDataPresent && currentDay3.equals("26")) out.print("SELECTED");%>>26
                <option value="27" <%if(isMessageDataPresent && currentDay3.equals("27")) out.print("SELECTED");%>>27
                <option value="28" <%if(isMessageDataPresent && currentDay3.equals("28")) out.print("SELECTED");%>>28
                <option value="29" <%if(isMessageDataPresent && currentDay3.equals("29")) out.print("SELECTED");%>>29
                <option value="30" <%if(isMessageDataPresent && currentDay3.equals("30")) out.print("SELECTED");%>>30
                <option value="31" <%if(isMessageDataPresent && currentDay3.equals("31")) out.print("SELECTED");%>>31
                </select></td>
                <td>
                <select onchange="updateDate(document.myForm.Date02,document.myForm.year2,document.myForm.month2,document.myForm.day2,document.myForm.hourList2)" name="month2" <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                <option value="0">
                <option value="01" <%if(isMessageDataPresent && currentMonth3.equals("01")) out.print("SELECTED");%>>enero
                <option value="02" <%if(isMessageDataPresent && currentMonth3.equals("02")) out.print("SELECTED");%>>febrero
                <option value="03" <%if(isMessageDataPresent && currentMonth3.equals("03")) out.print("SELECTED");%>>marzo
                <option value="04" <%if(isMessageDataPresent && currentMonth3.equals("04")) out.print("SELECTED");%>>abril
                <option value="05" <%if(isMessageDataPresent && currentMonth3.equals("05")) out.print("SELECTED");%>>mayo
                <option value="06" <%if(isMessageDataPresent && currentMonth3.equals("06")) out.print("SELECTED");%>>junio
                <option value="07" <%if(isMessageDataPresent && currentMonth3.equals("07")) out.print("SELECTED");%>>julio
                <option value="08" <%if(isMessageDataPresent && currentMonth3.equals("08")) out.print("SELECTED");%>>agosto
                <option value="09" <%if(isMessageDataPresent && currentMonth3.equals("09")) out.print("SELECTED");%>>septiembre
                <option value="10" <%if(isMessageDataPresent && currentMonth3.equals("10")) out.print("SELECTED");%>>octubre
                <option value="11" <%if(isMessageDataPresent && currentMonth3.equals("11")) out.print("SELECTED");%>>noviembre
                <option value="12" <%if(isMessageDataPresent && currentMonth3.equals("12")) out.print("SELECTED");%>>diciembre
                </select></td>
                <td>
                <select onchange="updateDate(document.myForm.Date02,document.myForm.year2,document.myForm.month2,document.myForm.day2,document.myForm.hourList2)" name="year2" <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                <option value="0">
                <option value="2003" <%if(isMessageDataPresent && currentYear3.equals("2003")) out.print("SELECTED");%>>2003
                <option value="2004" <%if(isMessageDataPresent && currentYear3.equals("2004")) out.print("SELECTED");%>>2004
                </select></td>
                <td>
                <SELECT onchange="updateDate(document.myForm.Date02,document.myForm.year2,document.myForm.month2,document.myForm.day2,document.myForm.hourList2)" name='hourList2' <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                            <OPTION value='06:00:00' <%if(isMessageDataPresent && currentHour3.equals("06")) out.print("SELECTED");%>>6:00</OPTION>
                            <OPTION value='07:00:00' <%if(isMessageDataPresent && currentHour3.equals("07")) out.print("SELECTED");%>>7:00</OPTION>
                            <OPTION value='08:00:00' <%if(isMessageDataPresent && currentHour3.equals("08")) out.print("SELECTED");%>>8:00</OPTION>
                            <OPTION value='09:00:00' <%if(isMessageDataPresent && currentHour3.equals("09")) out.print("SELECTED");%>>9:00</OPTION>
                            <OPTION value='10:00:00' <%if(isMessageDataPresent && currentHour3.equals("10")) out.print("SELECTED");%>>10:00</OPTION>
                            <OPTION value='11:00:00' <%if(isMessageDataPresent && currentHour3.equals("11")) out.print("SELECTED");%>>11:00</OPTION>
                            <OPTION value='12:00:00' <%if(isMessageDataPresent && currentHour3.equals("12")) out.print("SELECTED");%>>12:00</OPTION>
                            <OPTION value='13:00:00' <%if(isMessageDataPresent && currentHour3.equals("13")) out.print("SELECTED");%>>13:00</OPTION>
                            <OPTION value='14:00:00' <%if(isMessageDataPresent && currentHour3.equals("14")) out.print("SELECTED");%>>14:00</OPTION>
                            <OPTION value='15:00:00' <%if(isMessageDataPresent && currentHour3.equals("15")) out.print("SELECTED");%>>15:00</OPTION>
                            <OPTION value='16:00:00' <%if(isMessageDataPresent && currentHour3.equals("16")) out.print("SELECTED");%>>16:00</OPTION>
                            <OPTION value='17:00:00' <%if(isMessageDataPresent && currentHour3.equals("17")) out.print("SELECTED");%>>17:00</OPTION>
                            <OPTION value='18:00:00' <%if(isMessageDataPresent && currentHour3.equals("18")) out.print("SELECTED");%>>18:00</OPTION>                            
                            <OPTION value='19:00:00' <%if(isMessageDataPresent && currentHour3.equals("19")) out.print("SELECTED");%>>19:00</OPTION>
                            <OPTION value='20:00:00' <%if(isMessageDataPresent && currentHour3.equals("20")) out.print("SELECTED");%>>20:00</OPTION>
                            <OPTION value='21:00:00' <%if(isMessageDataPresent && currentHour3.equals("21")) out.print("SELECTED");%>>21:00</OPTION>
                        </SELECT></td></tr>
                <tr><td>
                <%if(isMessageDataPresent)
                  {
                   currentYear3 = currentMessage.getAddDate3().substring(0,4);
                   currentMonth3 = currentMessage.getAddDate3().substring(5,7);
                   currentDay3 = currentMessage.getAddDate3().substring(8,10);
                   currentHour3 = currentMessage.getAddDate3().substring(11,13);
                  }
                    %>
                    <select onchange="updateDate(document.myForm.Date03,document.myForm.year3,document.myForm.month3,document.myForm.day3,document.myForm.hourList3)" name="day3" <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                <option value="0">
                <option value="01" <%if(isMessageDataPresent && currentDay3.equals("01")) out.print("SELECTED");%>>01
                <option value="02" <%if(isMessageDataPresent && currentDay3.equals("02")) out.print("SELECTED");%>>02
                <option value="03" <%if(isMessageDataPresent && currentDay3.equals("03")) out.print("SELECTED");%>>03
                <option value="04" <%if(isMessageDataPresent && currentDay3.equals("04")) out.print("SELECTED");%>>04
                <option value="05" <%if(isMessageDataPresent && currentDay3.equals("05")) out.print("SELECTED");%>>05
                <option value="06" <%if(isMessageDataPresent && currentDay3.equals("06")) out.print("SELECTED");%>>06
                <option value="07" <%if(isMessageDataPresent && currentDay3.equals("07")) out.print("SELECTED");%>>07
                <option value="08" <%if(isMessageDataPresent && currentDay3.equals("08")) out.print("SELECTED");%>>08
                <option value="09" <%if(isMessageDataPresent && currentDay3.equals("09")) out.print("SELECTED");%>>09
                <option value="10" <%if(isMessageDataPresent && currentDay3.equals("10")) out.print("SELECTED");%>>10
                <option value="11" <%if(isMessageDataPresent && currentDay3.equals("11")) out.print("SELECTED");%>>11
                <option value="12" <%if(isMessageDataPresent && currentDay3.equals("12")) out.print("SELECTED");%>>12
                <option value="13" <%if(isMessageDataPresent && currentDay3.equals("13")) out.print("SELECTED");%>>13
                <option value="14" <%if(isMessageDataPresent && currentDay3.equals("14")) out.print("SELECTED");%>>14
                <option value="15" <%if(isMessageDataPresent && currentDay3.equals("15")) out.print("SELECTED");%>>15
                <option value="16" <%if(isMessageDataPresent && currentDay3.equals("16")) out.print("SELECTED");%>>16
                <option value="17" <%if(isMessageDataPresent && currentDay3.equals("17")) out.print("SELECTED");%>>17
                <option value="18" <%if(isMessageDataPresent && currentDay3.equals("18")) out.print("SELECTED");%>>18
                <option value="19" <%if(isMessageDataPresent && currentDay3.equals("19")) out.print("SELECTED");%>>19
                <option value="20" <%if(isMessageDataPresent && currentDay3.equals("20")) out.print("SELECTED");%>>20
                <option value="21" <%if(isMessageDataPresent && currentDay3.equals("21")) out.print("SELECTED");%>>21
                <option value="22" <%if(isMessageDataPresent && currentDay3.equals("22")) out.print("SELECTED");%>>22
                <option value="23" <%if(isMessageDataPresent && currentDay3.equals("23")) out.print("SELECTED");%>>23
                <option value="24" <%if(isMessageDataPresent && currentDay3.equals("24")) out.print("SELECTED");%>>24
                <option value="25" <%if(isMessageDataPresent && currentDay3.equals("25")) out.print("SELECTED");%>>25
                <option value="26" <%if(isMessageDataPresent && currentDay3.equals("26")) out.print("SELECTED");%>>26
                <option value="27" <%if(isMessageDataPresent && currentDay3.equals("27")) out.print("SELECTED");%>>27
                <option value="28" <%if(isMessageDataPresent && currentDay3.equals("28")) out.print("SELECTED");%>>28
                <option value="29" <%if(isMessageDataPresent && currentDay3.equals("29")) out.print("SELECTED");%>>29
                <option value="30" <%if(isMessageDataPresent && currentDay3.equals("30")) out.print("SELECTED");%>>30
                <option value="31" <%if(isMessageDataPresent && currentDay3.equals("31")) out.print("SELECTED");%>>31
                </select></td>
                <td>
                <select onchange="updateDate(document.myForm.Date03,document.myForm.year3,document.myForm.month3,document.myForm.day3,document.myForm.hourList3)" name="month3" <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                <option value="0">
                <option value="01" <%if(isMessageDataPresent && currentMonth3.equals("01")) out.print("SELECTED");%>>enero
                <option value="02" <%if(isMessageDataPresent && currentMonth3.equals("02")) out.print("SELECTED");%>>febrero
                <option value="03" <%if(isMessageDataPresent && currentMonth3.equals("03")) out.print("SELECTED");%>>marzo
                <option value="04" <%if(isMessageDataPresent && currentMonth3.equals("04")) out.print("SELECTED");%>>abril
                <option value="05" <%if(isMessageDataPresent && currentMonth3.equals("05")) out.print("SELECTED");%>>mayo
                <option value="06" <%if(isMessageDataPresent && currentMonth3.equals("06")) out.print("SELECTED");%>>junio
                <option value="07" <%if(isMessageDataPresent && currentMonth3.equals("07")) out.print("SELECTED");%>>julio
                <option value="08" <%if(isMessageDataPresent && currentMonth3.equals("08")) out.print("SELECTED");%>>agosto
                <option value="09" <%if(isMessageDataPresent && currentMonth3.equals("09")) out.print("SELECTED");%>>septiembre
                <option value="10" <%if(isMessageDataPresent && currentMonth3.equals("10")) out.print("SELECTED");%>>octubre
                <option value="11" <%if(isMessageDataPresent && currentMonth3.equals("11")) out.print("SELECTED");%>>noviembre
                <option value="12" <%if(isMessageDataPresent && currentMonth3.equals("12")) out.print("SELECTED");%>>diciembre
                </select></td>
                <td>
                <select onchange="updateDate(document.myForm.Date03,document.myForm.year3,document.myForm.month3,document.myForm.day3,document.myForm.hourList3)" name="year3" <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                <option value="0">
                <option value="2003" <%if(isMessageDataPresent && currentYear3.equals("2003")) out.print("SELECTED");%>>2003
                <option value="2004" <%if(isMessageDataPresent && currentYear3.equals("2004")) out.print("SELECTED");%>>2004
                </select></td>                
                <td>
                        <SELECT onchange="updateDate(document.myForm.Date03,document.myForm.year3,document.myForm.month3,document.myForm.day3,document.myForm.hourList3)" name='hourList3' <%if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}%>>
                            <OPTION value='06:00:00' <%if(isMessageDataPresent && currentHour3.equals("06")) out.print("SELECTED");%>>6:00</OPTION>
                            <OPTION value='07:00:00' <%if(isMessageDataPresent && currentHour3.equals("07")) out.print("SELECTED");%>>7:00</OPTION>
                            <OPTION value='08:00:00' <%if(isMessageDataPresent && currentHour3.equals("08")) out.print("SELECTED");%>>8:00</OPTION>
                            <OPTION value='09:00:00' <%if(isMessageDataPresent && currentHour3.equals("09")) out.print("SELECTED");%>>9:00</OPTION>
                            <OPTION value='10:00:00' <%if(isMessageDataPresent && currentHour3.equals("10")) out.print("SELECTED");%>>10:00</OPTION>
                            <OPTION value='11:00:00' <%if(isMessageDataPresent && currentHour3.equals("11")) out.print("SELECTED");%>>11:00</OPTION>
                            <OPTION value='12:00:00' <%if(isMessageDataPresent && currentHour3.equals("12")) out.print("SELECTED");%>>12:00</OPTION>
                            <OPTION value='13:00:00' <%if(isMessageDataPresent && currentHour3.equals("13")) out.print("SELECTED");%>>13:00</OPTION>
                            <OPTION value='14:00:00' <%if(isMessageDataPresent && currentHour3.equals("14")) out.print("SELECTED");%>>14:00</OPTION>
                            <OPTION value='15:00:00' <%if(isMessageDataPresent && currentHour3.equals("15")) out.print("SELECTED");%>>15:00</OPTION>
                            <OPTION value='16:00:00' <%if(isMessageDataPresent && currentHour3.equals("16")) out.print("SELECTED");%>>16:00</OPTION>
                            <OPTION value='17:00:00' <%if(isMessageDataPresent && currentHour3.equals("17")) out.print("SELECTED");%>>17:00</OPTION>
                            <OPTION value='18:00:00' <%if(isMessageDataPresent && currentHour3.equals("18")) out.print("SELECTED");%>>18:00</OPTION>                            
                            <OPTION value='19:00:00' <%if(isMessageDataPresent && currentHour3.equals("19")) out.print("SELECTED");%>>19:00</OPTION>
                            <OPTION value='20:00:00' <%if(isMessageDataPresent && currentHour3.equals("20")) out.print("SELECTED");%>>20:00</OPTION>
                            <OPTION value='21:00:00' <%if(isMessageDataPresent && currentHour3.equals("21")) out.print("SELECTED");%>>21:00</OPTION>
                        </SELECT></td></tr>
                    </table>
                    </TD>
                </TR>
            </TABLE>
            <BR>
                    <INPUT type=hidden size="24" maxlength="16" name="Date01"
                     <%if(isMessageDataPresent)
                         out.print(" value='"+currentMessage.getAddDate1()+"'");
                       else
                         out.print(" value='0000-00-00 00:00:00'");
                       %>>
                    <INPUT type=hidden size="24" maxlength="16" name="Date02"
                     <%if(isMessageDataPresent)
                         out.print(" value='"+currentMessage.getAddDate2()+"'");
                       else
                         out.print(" value='0000-00-00 00:00:00'");
                       %>>
                    <INPUT type=hidden size="24" maxlength="16" name="Date03"
                     <%if(isMessageDataPresent)
                         out.print(" value='"+currentMessage.getAddDate3()+"'");
                       else
                         out.print(" value='0000-00-00 00:00:00'");
                       %>>
            <BR>
            <TABLE>
            <TR>
            <TD WIDTH="10%"></TD>
            <TD><INPUT type=SUBMIT name="remove" value="Eliminar Mensaje" <%if(!isMessageDataPresent || isMessageSend) out.print("disabled");%>></TD>
            <TD>
            <INPUT onclick="textCounter(document.myForm.message,document.myForm.sizebox,158)" type=SUBMIT name="add" value="<%out.print(isMessageDataPresent && !isMessageSend?"Enviar mensaje":"Enviar Mensaje");%>"></TD>
            <TD><INPUT type=SUBMIT name="reset" value="Limpiar Pantalla"></TD>
            <TD WIDTH="10%"></TD>
            </TR>
            </TABLE>
           
         <TD>
     </TR>
     </TABLE>
</TD>


<TD WIDTH="5%"></TD>
<TD WIDTH="35%" VALIGN="top">
<BR><br>

<table width="100%" border="2" cellspacing="0" cellpadding="10" bordercolor="#003399">
<tr><td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr bgcolor="#0033CC">
<td align=center><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><%out.print(userSender);%></font></td>
</tr>
<tr>
<td align=center bgcolor='#FFFFFF'><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Mensajes enviados</td>
</tr>
<tr>
<td align=center bgcolor='#FFFFFF'><FONT color=black face='Arial, Helvetica, sans-serif' size=2>
<%out.print( myDBAccess.getMsgsUsed( (String) session.getAttribute( "UserId" ) ) );%>
<BR>
<%out.print("<INPUT type='button' name=searchMsgSent value='Consultar' onclick='searchMsgSentClick(\""+session.getAttribute("Username")+"\")'>");%>
</td>
</tr>
<tr>
<td align=center bgcolor='#FFFFFF'><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Mensajes programados</td>
</tr>
<tr>
<td align=center bgcolor='#FFFFFF'><FONT color=black face='Arial, Helvetica, sans-serif' size=2>
<%out.print( myDBAccess.getMsgsProgramed( (String) session.getAttribute( "UserId" ) ) );%></td>
</tr>
<tr>
<td align=center bgcolor='#FFFFFF'><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Mensajes por enviar</td>
</tr>
<tr>
<td align=center bgcolor='#FFFFFF'><FONT color=black face='Arial, Helvetica, sans-serif' size=2>
<%out.print(myDBAccess.getMsgsAvailables((String)session.getAttribute("UserId")));%>
<INPUT type='hidden' name='msgToSend' value = '<%out.print(myDBAccess.getMsgsAvailables((String)session.getAttribute("UserId")));%>'></td>
</tr>
<%if(session.getAttribute("Username").equals("adm"))
{
%>
<tr bgcolor="#0033CC">
<td align=center><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">Mensajes de Telcel</font></td>
</tr>
<tr>
<td bgcolor='#FFFFFF'><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Enviados:&nbsp;
<FONT color=black face='Arial, Helvetica, sans-serif' size=2><% out.print(myDBAccess.getSentMsgTelcel()); %>
<BR>
<FONT COLOR=blue face='Arial, Helvetica, sans-serif' size=2>Programados:&nbsp;
<FONT color=black face='Arial, Helvetica, sans-serif' size=2><% out.print(myDBAccess.getMsgProgramedTelcel());%></td>
</tr>
<tr bgcolor="#0033CC">
<td align=center><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">Operadores</font></td>
</tr>
<tr>
<td align=center bgcolor='#FFFFFF'><FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Estadisticas
<BR>
<%out.print("<INPUT type='button' name=statistics value='Consultar' onclick='statisticsDB()'>");%>
</td>
</tr>
<%
}
%>
</table></table>


</TD><TD WIDTH="2%"></TD>
</TR></TABLE>

        </FORM>
<HR>
    </body>
</html>
0
 

Author Comment

by:intanhm
ID: 12282115
ok, I had send you the file programAndSendMessages.jsp
Could you please tell me which can be the error??

0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12282361
on my PC it is working well.
Could you send also java file which is automatically created for your JSP page.
It is tomcat_home/work/Standalone/localhost/_/ programAndSendMessages_jsp.java.
From stacktrace it is set that problem occurs in programAndSendMessages_jsp.java file in line 61.
Also could you send your index.jsp file
0
 

Author Comment

by:intanhm
ID: 12282522
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import mx.com.intech.services.SmsMsg1.users.*;
import javax.comm.*;
import java.util.Date;
import java.text.SimpleDateFormat;
import java.io.*;
import java.util.Vector;
import java.util.List;
import java.util.ArrayList;
import java.util.StringTokenizer;
import java.util.Enumeration;
import java.util.Hashtable;

public class programAndSendMessages_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  public java.util.List getIncludes() {
    return _jspx_includes;
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=ISO-8859-1");
      pageContext = _jspxFactory.getPageContext(this, request, response,
                        null, true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("\r\n\r\n");

    if(session.isNew()||session.getAttribute("Username")==null)
    {
        session.setAttribute("Intech.Referer","programAndsendMessages.jsp");

      out.write("\r\n       ");
      if (true) {
        pageContext.forward("index.jsp");
        return;
      }
      out.write("\r\n");

    }
        JDCSMSMessages myDBAccess = new JDCSMSMessages();
        SMSProcessSendTelcel processSend=new SMSProcessSendTelcel();
       
        // Action Flags
        boolean isMessageDataPresent = false;
        boolean isAdd = false;
        boolean isUpdate = false;
        boolean isView = false;
        boolean isRemove = false;
        boolean hasMessages = false;
       
        // Error Flags
        boolean messageSent = false;
        boolean isMessageValid = true;
        boolean areNumbersValid = true;
        boolean isPeriodListValid = true;
        boolean isDataValid = true;
        boolean isSpecialDateValid = true;
        boolean portResult = true;
        boolean isMessageFound = false;
       
        boolean isMessageSend = false;
       
        SMSMessage currentMessage= null;
        SMSMessage mySelection = null;
        String[] myPeriods = null;
        List myListPeriods = null;
        List myNewNumberList = null;
        String currentNumberList = "";
        String currentHour = "";
        String currentYear3 = "";
        String currentMonth3 = "";
        String currentDay3 = "";
        String currentHour3 = "";
        String total = "0";
       
        String userSender = "";
        String num10 = "";
        String numbersSend = "";
        String[] myPeriodsHour = null;
        Date specialDate = null;
        int lineNumber = 0;
        int msgAvailables = 1;
        int msgln = 0;        
        int numbersLength;
       
        if(request.getParameter("add")!=null && request.getParameter("add").equals("Enviar Mensaje")) isAdd = true;
        if(request.getParameter("add")!=null && request.getParameter("add").equals("Enviar mensaje")) isUpdate = true;
        if(request.getParameter("view")!=null) isView = true;
        if(request.getParameter("remove")!=null) isRemove = true;
        int period = Integer.parseInt(request.getParameter("period")==null?"0":request.getParameter("period"));
       
        if(isUpdate||isAdd||isView)
        {
            Vector myVector = (Vector)session.getAttribute("myMessages");
            boolean isMessageListEmpty = request.getParameter("myMessageList")==null ? true : false;
            if(!isMessageListEmpty)
            {
                int index = Integer.parseInt(request.getParameter("myMessageList"));
                currentMessage = (SMSMessage)(myVector.elementAt(index));
                List myNumberList = currentMessage.getNumbersList();
                currentNumberList = (myNumberList.size()>0)?((SMSNumber)(myNumberList.get(0))).getNumber():"";
                for(int i=1;i<myNumberList.size();i++)
                    currentNumberList += "," + ((SMSNumber)(myNumberList.get(i))).getNumber();
                areNumbersValid = true;
            }

            int sender = 158;
           
            isMessageValid = (request.getParameter("message")!=null && !request.getParameter("message").equals("") && request.getParameter("message").length() <= sender)?true:false;
            if(isUpdate||isAdd)
                  areNumbersValid = (request.getParameter("numbersString")!=null && !request.getParameter("numbersString").equals(""))?true:false;
           
            isSpecialDateValid = true;
            if (period == 1)
              isPeriodListValid = true;
            if (period == 2)
              isPeriodListValid = !(request.getParameterValues("dayOfWeekList")== null);
            if (period == 3)
              isPeriodListValid = !(request.getParameterValues("dayOfMonthList")== null);
            if (period == 5)
            {
              isPeriodListValid = true;
              isMessageSend = true;
            }
            if (period != 5)
            {
             if (period == 4)
              isSpecialDateValid = false;
             
             boolean isSpecialDateValidTemp = true;
             
             SimpleDateFormat sdf = new SimpleDateFormat("yyyy-M-d");
             if(request.getParameter("year1")!=null && !request.getParameter("Date01").equals("0000-00-00 00:00:00"))
             {
               try{ specialDate = sdf.parse(request.getParameter("Date01"));
                    isSpecialDateValidTemp = myDBAccess.isDateValid(request.getParameter("Date01"));
                    if(request.getParameter("year2")!=null && !request.getParameter("Date02").equals("0000-00-00 00:00:00"))
                     if(request.getParameter("Date01").equals(request.getParameter("Date02")))
                      isSpecialDateValidTemp = false;
                    if(request.getParameter("year3")!=null && !request.getParameter("Date03").equals("0000-00-00 00:00:00"))
                     if(request.getParameter("Date01").equals(request.getParameter("Date03")))
                      isSpecialDateValidTemp = false;
                  }            
               catch (Exception e){ isSpecialDateValidTemp = false; }
               isSpecialDateValid = isSpecialDateValidTemp;
             }
             
             if(request.getParameter("year2")!=null && !request.getParameter("Date02").equals("0000-00-00 00:00:00") && isSpecialDateValidTemp)
             {
               try{ specialDate = sdf.parse(request.getParameter("Date02"));
                    isSpecialDateValidTemp = myDBAccess.isDateValid(request.getParameter("Date02"));
                    if(request.getParameter("year3")!=null && !request.getParameter("Date03").equals("0000-00-00 00:00:00"))
                     if(request.getParameter("Date02").equals(request.getParameter("Date03")))
                      isSpecialDateValidTemp = false;
                  }            
               catch (Exception e){ isSpecialDateValidTemp = false; }
               isSpecialDateValid = isSpecialDateValidTemp;
             }
             if(request.getParameter("year3")!=null && !request.getParameter("Date03").equals("0000-00-00 00:00:00") && isSpecialDateValidTemp)
             {
               try{ specialDate = sdf.parse(request.getParameter("Date03"));
                    isSpecialDateValidTemp = myDBAccess.isDateValid(request.getParameter("Date03")); }            
               catch (Exception e){ isSpecialDateValidTemp = false; }
               isSpecialDateValid = isSpecialDateValidTemp;
             }
             
            }
            isDataValid = isMessageValid && isPeriodListValid && areNumbersValid && isSpecialDateValid;
           
            isMessageDataPresent = true;
            if(isView)
            {
              isDataValid = true;
              isMessageValid = true;
              areNumbersValid = true;
              isSpecialDateValid = true;
            }
        }

        if((isAdd||isUpdate) && period == 5)
        {
            if (isDataValid)
            {
              msgAvailables = myDBAccess.getMsgsAvailables((String)session.getAttribute("UserId"));
              if(msgAvailables > 0)
              {
              messageSent = true;
              try{            
                  String currentNumber;
              String currentOperator1;
              StringTokenizer st = new StringTokenizer(request.getParameter("numbersString").trim(),",");
              Hashtable ht = new Hashtable();
              SMSSendPegasoTelefonica currOperator2 = null;
              SMSSendUnefon currOperator3 = null;
              SMSSendNextel currOperator4 = null;
              SMSSendIusacell currOperator5 = null;
             
              while (st.hasMoreTokens() && (msgAvailables > 0))
              {
               currentNumber = st.nextToken();
               currentOperator1 = myDBAccess.getOperator(currentNumber);
               if (((String)ht.get(currentOperator1))==null)
                 ht.put(currentOperator1,currentNumber);
               else
                 ht.put(currentOperator1,((String)ht.get(currentOperator1)) + "," + currentNumber);
               msgAvailables--;
              }
             
              //userSender = myDBAccess.getSender(Integer.parseInt((String)(session.getAttribute("UserId"))));
              Enumeration enumOperators = ht.keys();
              while (enumOperators.hasMoreElements())
              {
                String currentOp = (String)(enumOperators.nextElement());
                if(currentOp.equals("TELCEL"))
                {
                  numbersSend = (String)ht.get(currentOp);
                  processSend.sendMessage(request.getParameter("message").trim(),numbersSend,(String)session.getAttribute("Username"));
                }
                if(currentOp.equals("PEGASO")||currentOp.equals("TELEFONICA"))
                {
                  currOperator2 = new SMSSendPegasoTelefonica();
                  numbersSend = (String)ht.get(currentOp);
                  currOperator2.sendMessage(request.getParameter("message").trim(),numbersSend,(String)session.getAttribute("Username"));
                }
                if(currentOp.equals("UNEFON"))
                {
                  currOperator3 = new SMSSendUnefon();
                  numbersSend = (String)ht.get(currentOp);
                  currOperator3.sendMessage(request.getParameter("message").trim(),numbersSend,(String)session.getAttribute("Username"));
                }
                if(currentOp.equals("NEXTEL"))
                {
                  currOperator4 = new SMSSendNextel();
                  numbersSend = (String)ht.get(currentOp);
                  currOperator4.sendMessage(request.getParameter("message").trim(),numbersSend,(String)session.getAttribute("Username"));
                }              
                if(currentOp.equals("IUSACELL"))
                {
                  currOperator5 = new SMSSendIusacell();
                  numbersSend = (String)ht.get(currentOp);
                  currOperator5.sendMessage(request.getParameter("message").trim(),numbersSend,(String)session.getAttribute("Username"));
                }
                if(currentOp.equals("Unknown"))
                {
                  numbersSend = (String)ht.get(currentOp);
                  myDBAccess.insertLog((String)session.getAttribute("Username"),request.getParameter("message").trim(),numbersSend,"operator unknown");
                }
                  }
                 }catch (Exception ignore){
                      messageSent = false;
                      ignore.printStackTrace();
                  }
              }
            }
        }
       
        if(isRemove)
        {
            int index = Integer.parseInt(request.getParameter("myMessageList"));
            Vector myVector = (Vector)session.getAttribute("myMessages");
            currentMessage = (SMSMessage)(myVector.elementAt(index));
            myDBAccess.removeMessage(currentMessage.getId());
            myVector.remove(index);
            session.setAttribute("myMessages",myVector);
        }        
        if(isUpdate)
        {
            currentMessage.setMessage(request.getParameter("message").trim());
            currentMessage.setIdUser(Integer.parseInt((String)(session.getAttribute("UserId"))));
            currentMessage.setPeriod(period);
            currentNumberList = request.getParameter("numbersString").trim();
            StringTokenizer st= new StringTokenizer(request.getParameter("numbersString"),",");
            myNewNumberList = new ArrayList();
            while (st.hasMoreTokens())
            {
                myNewNumberList.add(new SMSNumber(0,st.nextToken(),"operator"));
            }
            currentMessage.setNumbersList(myNewNumberList);
            myPeriods = null;
            myListPeriods = new ArrayList();
           
            if(period != 4)
            {
              myPeriodsHour = request.getParameterValues("hourList");
             
              if (period == 1)
              {
                myListPeriods.add(new SMSDaily(0,myPeriodsHour[0]));
              }
              if (period == 2)
               if(isPeriodListValid)
               {
                  myPeriods = request.getParameterValues("dayOfWeekList");
                  for(int j=0;j<myPeriods.length;j++)
                      myListPeriods.add(new SMSWeekly(0,myPeriodsHour[0],myPeriods[j]));
               }
               else
                  myListPeriods.add(new SMSWeekly(0,myPeriodsHour[0],"none"));
                 
              if (period == 3)
               if(isPeriodListValid)
               {
                  myPeriods = request.getParameterValues("dayOfMonthList");
                  for(int j=0;j<myPeriods.length;j++)
                      myListPeriods.add(new SMSMonthly(0,myPeriodsHour[0],Integer.parseInt(myPeriods[j])));
               }
               else
                  myListPeriods.add(new SMSMonthly(0,myPeriodsHour[0],0));
            }
            else
              myListPeriods.add(new SMSDaily(0,"00:00"));

            currentMessage.setPeriodList(myListPeriods);
            currentMessage.setAddDate1(request.getParameter("Date01"));
            currentMessage.setAddDate2(request.getParameter("Date02"));
            currentMessage.setAddDate3(request.getParameter("Date03"));
           
            if(isDataValid && period != 5)
                myDBAccess.updateMessage(currentMessage,period);
        }

        if(isAdd)
        {
            Vector myVector = (Vector)session.getAttribute("myMessages");
            if (myVector==null) myVector = new Vector();
            mySelection = new SMSMessage();
            currentNumberList = request.getParameter("numbersString").trim();

            mySelection.setMessage(request.getParameter("message").trim());
            mySelection.setIdUser(Integer.parseInt((String)(session.getAttribute("UserId"))));
           
            mySelection.setPeriod(period);
            StringTokenizer st= new StringTokenizer(request.getParameter("numbersString"),",");
            myNewNumberList = new ArrayList();
            while (st.hasMoreTokens())
            {
                myNewNumberList.add(new SMSNumber(0,st.nextToken(),"operator"));
            }
            mySelection.setNumbersList(myNewNumberList);
            myPeriods = null;
            myListPeriods = new ArrayList();
           
            if(period != 4)
            {            
              myPeriodsHour = request.getParameterValues("hourList");

              if (period == 1)
                myListPeriods.add(new SMSDaily(0,myPeriodsHour[0]));
 
              if (period == 2)
               if(isPeriodListValid)
               {
                  myPeriods = request.getParameterValues("dayOfWeekList");
                  for(int j=0;j<myPeriods.length;j++)
                      myListPeriods.add(new SMSWeekly(0,myPeriodsHour[0],myPeriods[j]));
               }
               else
                  myListPeriods.add(new SMSWeekly(0,myPeriodsHour[0],"none"));
             
              if (period == 3)
               if(isPeriodListValid)
               {
                  myPeriods = request.getParameterValues("dayOfMonthList");
                  for(int j=0;j<myPeriods.length;j++)
                      myListPeriods.add(new SMSMonthly(0,myPeriodsHour[0],Integer.parseInt(myPeriods[j])));
               }
               else
                  myListPeriods.add(new SMSMonthly(0,myPeriodsHour[0],0));
            }
            else
              myListPeriods.add(new SMSDaily(0,"00:00"));
             
            mySelection.setPeriodList(myListPeriods);
           
            mySelection.setAddDate1(request.getParameter("Date01"));
            mySelection.setAddDate2(request.getParameter("Date02"));
            mySelection.setAddDate3(request.getParameter("Date03"));

            if(isDataValid && period != 5)
            {
                int myNewId = myDBAccess.addMessage(mySelection,period);
               
                if(myNewId == 0)
            {
              isMessageFound = true;
            }
            else
            {
                  mySelection.setId(myNewId);
                  myVector.add(mySelection);
                }
                session.setAttribute("myMessages",myVector);
                isMessageDataPresent = false;
            }
            currentMessage = mySelection;    
        }
       

      out.write("\r\n");
      out.write("<html>\r\n    ");
      out.write("<head>\r\n        ");
      out.write("<title>Intech Mobile Publicity - Mensajes Programados");
      out.write("</title>\r\n        ");
      out.write("<SCRIPT type=\"text/javascript\">\r\n            function addNumberClick()\r\n            {\r\n                myNumber = prompt(\"Teclee el numero del telefono\");\r\n                if(myNumber.length != 10)\r\n                {\r\n                    alert(\"La longitud del numero debe ser de 10 digitos\");\r\n                    return;\r\n                }\r\n                \r\n                if(String(myNumber) != String(parseInt(myNumber,10)))\r\n                {\r\n                    alert(\"El número no debe iniciar con cero y solo debe contener dígitos\");\r\n                    return;\r\n                }\r\n\r\n                myNumbersTemp = document.myForm.numbersString.value;\r\n                if(myNumbersTemp.length > 10)\r\n                  if(myNumbersTemp.substring(0,1) == \",\")\r\n                    myNumbersTemp = myNumbersTemp.substring(1,myNumbersTemp.length);\r\n                \r\n                i = 1;\r\n                while( myNumbersTemp.length >= 10) \r\n                {\r\n                  myNumberTemp = myNumbersTemp.substring(0,10);\r\n");
      out.write("                  if(String(myNumberTemp) == String(myNumber))\r\n                  {\r\n                    alert(\"El número ya existe\");\r\n                    return;\r\n                  }\r\n                  if(myNumbersTemp.length > 10)\r\n                    myNumbersTemp = myNumbersTemp.substring(11,myNumbersTemp.length);\r\n                  else\r\n                    myNumbersTemp = \"\";\r\n                  i++;\r\n                }\r\n                \r\n                document.myForm.numbersList.options[document.myForm.numbersList.length] = new Option(myNumber,myNumber,false,false);\r\n                document.myForm.numbersString.value = document.myForm.numbersString.value + \",\" + myNumber;\r\n                document.myForm.totalNumbers.value = i;\r\n            }\r\n\r\n            function removeNumberClick()\r\n            {\r\n               while(document.myForm.numbersList.selectedIndex > -1)\r\n               {\r\n                if(document.myForm.numbersList.selectedIndex > -1)\r\n                {\r\n                    document.myForm.numbersList.options[document.myForm.numbersList.selectedIndex] = null;\r\n");
      out.write("                }\r\n               }\r\n               document.myForm.numbersString.value = \"\";\r\n               j = 0;\r\n               for (var i=0; i ");
      out.write("< document.myForm.numbersList.options.length; i++) \r\n               {\r\n                if(document.myForm.numbersList.options[i] != null)\r\n                {\r\n                 document.myForm.numbersString.value += document.myForm.numbersList.options[i].value +\",\";\r\n                 j++;\r\n                }\r\n               }\r\n               document.myForm.totalNumbers.value = j;\r\n               document.myForm.numbersString.value = document.myForm.numbersString.value.substring(0,document.myForm.numbersString.value.length-1);\r\n            }\r\n\r\n\t    function fieldsDisabled()\r\n\t    {\r\n                document.myForm.year1.disabled = false;\r\n                document.myForm.month1.disabled = false;\r\n                document.myForm.day1.disabled = false;\r\n                document.myForm.hourList1.disabled = false;\r\n                document.myForm.year2.disabled = false;\r\n                document.myForm.month2.disabled = false;\r\n                document.myForm.day2.disabled = false;\r\n                document.myForm.hourList2.disabled = false;\r\n");
      out.write("                document.myForm.year3.disabled = false;\r\n                document.myForm.month3.disabled = false;\r\n                document.myForm.day3.disabled = false;\r\n                document.myForm.hourList3.disabled = false;\t    \r\n\t    }\r\n\r\n            function fieldsEnabled2(pInt)\r\n            {\r\n             document.myForm.period[pInt-1].checked = true;\r\n             fieldsEnabled(pInt);\r\n            }\r\n\r\n            function fieldsEnabled(pInt)\r\n            {\r\n              \r\n              if(pInt == 1)\r\n              {\r\n                document.myForm.hourList.disabled = false;\r\n                document.myForm.dayOfWeekList.disabled = true;\r\n                document.myForm.dayOfMonthList.disabled = true;\r\n                fieldsDisabled();\r\n              }\r\n              if(pInt == 2)\r\n              {\r\n                document.myForm.hourList.disabled = false;\r\n                document.myForm.dayOfWeekList.disabled = false;\r\n                document.myForm.dayOfMonthList.disabled = true;\r\n                fieldsDisabled();\r\n");
      out.write("              }\r\n              if(pInt == 3)\r\n              {\r\n                document.myForm.hourList.disabled = false;\r\n                document.myForm.dayOfWeekList.disabled = true;\r\n                document.myForm.dayOfMonthList.disabled = false;\r\n                fieldsDisabled();\r\n              }\r\n              if(pInt == 4)\r\n              {\r\n                document.myForm.hourList.disabled = true;\r\n                document.myForm.dayOfWeekList.disabled = true;\r\n                document.myForm.dayOfMonthList.disabled = true;\r\n                document.myForm.year1.disabled = true;\r\n                document.myForm.month1.disabled = true;\r\n                document.myForm.day1.disabled = true;\r\n                document.myForm.hourList1.disabled = true;\r\n                document.myForm.year2.disabled = true;\r\n                document.myForm.month2.disabled = true;\r\n                document.myForm.day2.disabled = true;\r\n                document.myForm.hourList2.disabled = true;\r\n                document.myForm.year3.disabled = true;\r\n");
      out.write("                document.myForm.month3.disabled = true;\r\n                document.myForm.day3.disabled = true;\r\n                document.myForm.hourList3.disabled = true;\r\n              }\r\n              if(pInt == 5)\r\n              {\r\n                document.myForm.hourList.disabled = true;\r\n                document.myForm.dayOfWeekList.disabled = true;\r\n                document.myForm.dayOfMonthList.disabled = true;\r\n                fieldsDisabled();\r\n              }\r\n             \r\n            }\r\n\r\n            function textCounter(textMsg,sizeMsg,maxlimit) {\r\n            \r\n\t    if (textMsg.value.length > maxlimit) \r\n\t      textMsg.value = textMsg.value.substring(0, maxlimit);\r\n\t    else\r\n\t      sizeMsg.value = 0 + textMsg.value.length;\r\n\t    var ch;\r\n\t    var sout = \"\";\r\n\t    flag = 1;\r\n\t    \r\n\t    for (var i = 0; i ");
      out.write("< textMsg.value.length; i++) {\r\n\t       ch = textMsg.value.charAt(i);\r\n\t       if ((ch >= \"a\") && (ch ");
      out.write("<= \"z\"))\r\n\t          sout += ch;\r\n\t       else if ((ch >= \"A\") && (ch ");
      out.write("<= \"Z\"))\r\n \t              sout += ch;\r\n\t            else if ((ch >= \"0\") && (ch ");
      out.write("<= \"9\"))\r\n\t                   sout += ch;\r\n\t                 else if( (ch == \"$\")||(ch == \" \")||(ch == \"!\")||(ch == \"#\")||(ch == \"%\")||(ch == \"&\")||(ch == \"(\")||(ch == \")\")||(ch == \"=\")||(ch == \"+\")||(ch == \"\\r\")||(ch == \"\\n\")||(ch == \"\\\"\") )\r\n\t                        sout += ch;\r\n\t                      else if( (ch == \"-\")||(ch == \"*\")||(ch == \":\")||(ch == \",\")||(ch == \";\")||(ch == \".\")||(ch == \"/\")||(ch == \"?\")||(ch == \"'\")||(ch == \"");
      out.write("<\")||(ch == \">\") )\r\n\t                             sout += ch;\r\n\t                           else\r\n                                     flag = 0;\r\n\r\n\t    }\r\n            if(flag == 0)\r\n            {\r\n              textMsg.value = sout;\r\n            }\r\n    \r\n            }\r\n            \r\n\t    function updateDate(cDate,wYear,wMonth,wDay,wHour)\r\n\t    {\r\n\t      if(wYear.value != \"0\")\r\n\t        cDate.value = wYear.value + cDate.value.substring(4,19);\r\n\t      else\r\n\t        cDate.value = \"0000\" + cDate.value.substring(4,19);\r\n\t      if(wMonth.value != \"0\")\r\n\t        cDate.value = cDate.value.substring(0,5) + wMonth.value + cDate.value.substring(7,19);\r\n\t      else\r\n\t        cDate.value = cDate.value.substring(0,5) + \"00\" + cDate.value.substring(7,19);\r\n\t      if(wDay.value != \"0\")\r\n\t        cDate.value = cDate.value.substring(0,8) + wDay.value + cDate.value.substring(10,19);\r\n\t      else\r\n\t        cDate.value = cDate.value.substring(0,8) + \"00\" + cDate.value.substring(10,19);\r\n\t      if(wHour.value != \"0\")\r\n\t        cDate.value = cDate.value.substring(0,11) + wHour.value;\r\n");
      out.write("\t      else\r\n\t        cDate.value = cDate.value.substring(0,11) + \"00:00:00\";\r\n\t    }\r\n\r\nfunction searchNumberClick(userId)\r\n{\r\n pagina = \"searchDB.jsp?UserId=\"+userId;\r\n window.open(pagina,\"\",\"toolbar=yes,status=yes,scrollbars=yes,resizable=yes\");\r\n}\r\n\r\nfunction searchNumberAdd()\r\n{\r\n i = 0;\r\n customerProfile = 0;\r\n \r\n if(document.myForm.numbersString.value.length > 10)\r\n  if(document.myForm.numbersString.value.substring(0,1) == \",\")\r\n   document.myForm.numbersString.value = document.myForm.numbersString.value.substring(1,document.myForm.numbersString.value.length);\r\n \r\n totalMsg = document.myForm.msgToSend.value;\r\n \r\n myNumbersTemp = document.myForm.numbersString.value;\r\n  \r\n  while( myNumbersTemp.length >= 10) \r\n   {\r\n    totalMsg--;\r\n    if(myNumbersTemp.length > 10)\r\n       myNumbersTemp = myNumbersTemp.substring(11,myNumbersTemp.length);\r\n    else\r\n       myNumbersTemp = \"\";\r\n   }  \r\n \r\n numbers = document.myForm.numbersString2.value.substring(1,document.myForm.numbersString2.value.length);\r\n \r\n while( (numbers.length >= 10) && (totalMsg>0)) \r\n");
      out.write(" {\r\n  myNumber = numbers.substring(0,10);\r\n  customerProfile = 0;\r\n  \r\n  myNumbersTemp = document.myForm.numbersString.value;\r\n  if(numbers.length > 10)\r\n  {\r\n   if(numbers.substring(10,11) == \"N\")\r\n   {\r\n    numbers = numbers.substring(12,numbers.length);\r\n    customerProfile = 1;\r\n   }\r\n   else\r\n    numbers = numbers.substring(11,numbers.length);\r\n  }\r\n  else\r\n    numbers = \"\";\r\n  \r\n  numberFound = 0;\r\n  while( myNumbersTemp.length >= 10) \r\n   {\r\n    myNumberTemp = myNumbersTemp.substring(0,10);\r\n    if(String(myNumberTemp) == String(myNumber))\r\n    {\r\n     numberFound = 1;\r\n     break;\r\n    }\r\n    if(myNumbersTemp.length > 10)\r\n       myNumbersTemp = myNumbersTemp.substring(11,myNumbersTemp.length);\r\n    else\r\n       myNumbersTemp = \"\";\r\n   } \r\n  if(numberFound == 0)\r\n  {\r\n   j = document.myForm.numbersList.options.length;\r\n   \r\n   if(customerProfile == 1)\r\n    document.myForm.numbersList.options[j] = new Option(myNumber.substring(0,3)+\"*******\",myNumber,false,false);\r\n   else\r\n    document.myForm.numbersList.options[j] = new Option(myNumber,myNumber,false,false);\r\n");
      out.write("   \r\n   document.myForm.numbersString.value = document.myForm.numbersString.value + \",\" + myNumber;\r\n   i = j + 1;\r\n   totalMsg--;\r\n  }\r\n } \r\n if(i>0)\r\n   document.myForm.totalNumbers.value = i;\r\n}\r\n\r\nfunction searchMsgSentClick(userId)\r\n{\r\n if(userId==\"adm\")\r\n  pagina = \"searchMsgSentAdm.jsp?UserId=\"+userId;\r\n else\r\n  pagina = \"searchMsgSent.jsp?UserId=\"+userId;\r\n window.open(pagina,\"\",\"toolbar=yes,status=yes,scrollbars=yes,resizable=yes\");\r\n}\r\n\r\nfunction statisticsDB()\r\n{\r\n pagina = \"statisticsDB.jsp\";\r\n window.open(pagina,\"\",\"toolbar=yes,status=yes,scrollbars=yes,resizable=yes\");\r\n}\r\n\r\n        ");
      out.write("</SCRIPT>\r\n    ");
      out.write("</head>\r\n ");
      out.write("<BODY BGCOLOR=\"silver\" TEXT=\"blue\">\r\n\r\n");
      out.write("<CENTER> \r\n");
      out.write("<H1>");
      out.write("<IMG SRC=\"images/logo_1.gif\" ALIGN=\"left\">  Mobile Publicity 1.1 ");
      out.write("</H1>\r\n");
      out.write("</CENTER>\r\n \r\n");
      out.write("<MARQUEE WIDTH=\"75%\" HEIGHT=50> Contacting to Everyone, Everywhere, Everytime ");
      out.write("</MARQUEE>\r\n");
      JspRuntimeLibrary.include(request, response, "menu.jsp", out, false);
      out.write("\r\n        \r\n");
      out.write("<HR>\r\n");
      out.write("<TABLE>\r\n");
      out.write("<TR>");
      out.write("<TD WIDTH=\"4%\">");
      out.write("</TD>\r\n");
      out.write("<TD WIDTH=\"3%\">");
      out.write("</TD>\r\n");
      out.write("<TD>\r\n");
      out.write("<TABLE>\r\n");
      out.write("<TR>\r\n  ");
      out.write("<TD Align = CENTER>\r\n    ");
 if( isMessageFound ) out.println( "<FONT size=\"2\" COLOR=\"RED\" > El Mensaje ya existe</FONT><BR>" );
      out.write("\r\n    ");
if(!portResult) out.println("<FONT size=\"2\" COLOR=\"BLUE\" > Error al enviar el mensaje(Telcel), favor de notificarlo (adm_mp@intech.com.mx)  </FONT>");
      out.write("\r\n    ");
 if((msgAvailables <= 0) && !messageSent ) out.println("<FONT size=\"2\" COLOR=\"BLUE\">No tienes saldo.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT>");
      out.write("\r\n    ");
if(messageSent && isDataValid && portResult) out.println("<FONT size=\"2\" COLOR=\"BLUE\" > El mensaje fue enviado correctamente !! </FONT>");
      out.write("\r\n    ");
if(!isMessageValid && (msgAvailables > 0)) out.println("<FONT size=\"2\" COLOR=\"RED\" > Por favor escriba su mensaje (158 caracteres máximo) </FONT><BR>");
      out.write("\r\n    ");
if(!areNumbersValid && (msgAvailables > 0)) out.println("<FONT size=\"2\" COLOR=\"RED\" > Por favor escriba el número de teléfono </FONT><BR>");
      out.write("\r\n    ");
if((isAdd && (msgAvailables > 0)) && !isPeriodListValid) out.println("<FONT size=\"2\" COLOR=\"RED\" > Por favor selecciona una opcion de la lista de periodos </FONT><BR>");
      out.write("\r\n    ");
 if(isUpdate && !isPeriodListValid) out.println("<FONT size= \"2\" COLOR=\"RED\" > Por favor selecciona una opcion de la lista de periodos </FONT><BR>");
      out.write("\r\n    ");
if(!isSpecialDateValid && (msgAvailables > 0)) out.println("<FONT size=\"2\" COLOR=\"RED\" > Por favor escriba una fecha válida</FONT><BR>");
      out.write("\r\n  ");
      out.write("</TD>\r\n");
      out.write("</TR>\r\n");
      out.write("<TR>\r\n");
      out.write("<TD>\r\n   ");
      out.write("<FORM action=\"programAndSendMessages.jsp\" method=\"POST\" name=\"myForm\">\r\n   ");

     hasMessages = myDBAccess.hasMessages(Integer.parseInt((String)(session.getAttribute("UserId"))));
   
      out.write("\r\n            ");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Mensajes programados :");
      out.write("</font> \r\n            ");
      out.write("<SELECT name=\"myMessageList\" style=\"width:300\">\r\n            ");
   
                Vector myMessages;
                myMessages = myDBAccess.getMessages(Integer.parseInt((String)(session.getAttribute("UserId"))));
                session.setAttribute("myMessages",myMessages);
                for(int i =0; i<myMessages.size();i++)
                {
                   SMSMessage myMessage = (SMSMessage)(myMessages.elementAt(i));
           
      out.write("\r\n                ");
      out.write("<OPTION value=");
out.print("'"+i+"'");
                if( isMessageDataPresent )
                {
                 if(myMessage.getMessage().equals(currentMessage.getMessage()))
                    out.print(" SELECTED");
                }
             
      out.write(">\r\n                    ");
out.print(myMessage.getMessage());
      out.write("\r\n                ");
      out.write("</OPTION>\r\n            ");

                }
           
      out.write("\r\n            ");
      out.write("</SELECT>\r\n            ");
      out.write("<INPUT TYPE=\"submit\" NAME=\"view\" VALUE=\"Consultar\" ");
if(!hasMessages) out.print("disabled");
      out.write(">\r\n   ");
      out.write("<br>\r\n   ");
      out.write("<HR>\r\n   ");

   userSender = myDBAccess.getSender(Integer.parseInt((String)(session.getAttribute("UserId"))));
   
      out.write("\r\n   ");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>\r\n    Escriba su mensaje (158 caracteres máximo)");
      out.write("</font>");
      out.write("<BR/>\r\n    ");
      out.write("<TEXTAREA cols=40 rows=4 name='message'\r\n    onKeyDown=\"textCounter(document.myForm.message,document.myForm.sizebox,158)\"\r\n    onKeyUp=\"textCounter(document.myForm.message,document.myForm.sizebox,158)\">");
if( isMessageDataPresent )  out.print(currentMessage.getMessage());
      out.write("</TEXTAREA>");
      out.write("<BR/>\r\n    ");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Su mensaje tiene&nbsp;\r\n    ");
      out.write("<INPUT disabled type=\"text\" name=\"sizebox\" ");
if( isMessageDataPresent )  out.print("value="+currentMessage.getMessage().length()); else out.print("value=0");
      out.write(" size=3>&nbsp;caracteres");
      out.write("</font>\r\n    ");
      out.write("<BR/>\r\n    ");
      out.write("<BR>\r\n    ");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Agregar números de teléfono :");
      out.write("</font> \r\n    ");
      out.write("<BR/>\r\n    ");
      out.write("<TABLE>\r\n        ");
      out.write("<TR>");
      out.write("<TD>\r\n        ");
      out.write("<SELECT multiple name='numbersList' size = 6 style=\"width:200; left\" onchange=\"numbersListChange()\">\r\n        ");

                        if(isMessageDataPresent)
                        {        
                            List myNumbersList = currentMessage.getNumbersList();
                            currentNumberList = "";
                            for(int i=0;i<myNumbersList.size();i++)
                            {
                                String myOption = "<OPTION value='";
                                myOption += ((SMSNumber)(myNumbersList.get(i))).getNumber() + "'>";
                                myOption += (String)myDBAccess.validNumber( ((SMSNumber)(myNumbersList.get(i))).getNumber(), (String)session.getAttribute("Username") );
                                myOption += "</OPTION><BR/>";
                                out.print(myOption);
                                currentNumberList = currentNumberList + "," + ((SMSNumber)(myNumbersList.get(i))).getNumber();
                            }
                            total = Integer.toString(myNumbersList.size());
                        }
                   
      out.write("\r\n\r\n         ");
      out.write("</SELECT>");
      out.write("</TD>\r\n            ");
      out.write("<TD>\r\n                &nbsp;&nbsp;");
      out.write("<INPUT type='button' name=addNumber value=\"Agregar Número\" onclick=\"addNumberClick()\">");
      out.write("<BR>\r\n                &nbsp;&nbsp;");
      out.write("<INPUT type='button' name=removeNumber value=\"Eliminar Número(s)\" onclick=\"removeNumberClick()\">\r\n                ");
      out.write("<BR>&nbsp;&nbsp;\r\n          ");

          out.print("<INPUT type='button' name=searchNumber value='Busqueda por categoria' onclick='searchNumberClick(\""+session.getAttribute("Username")+"\")'>");
         
      out.write("                \r\n            ");
      out.write("</TD>\r\n            ");
      out.write("</TR>\r\n            ");
      out.write("</TABLE>\r\n    ");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Total de números&nbsp;");
      out.write("</font>\r\n    ");
      out.write("<INPUT disabled type=\"text\" name=\"totalNumbers\" ");
if( isMessageDataPresent )  out.print("value="+total); else out.print("value=0");
      out.write(" size=3>\r\n    ");
      out.write("<BR/>\r\n    ");
      out.write("<INPUT type='hidden' name='numbersString2' value = ''>\r\n    ");
      out.write("<INPUT type='hidden' name='numbersString' value = '");
if(isMessageDataPresent) out.print(currentNumberList);
      out.write("'>\r\n            ");
      out.write("<BR>\r\n            ");
      out.write("<HR>\r\n            ");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Programación del mensaje:");
      out.write("</font>\r\n            ");
      out.write("<BR>\r\n            ");
      out.write("<BR>\r\n            ");
      out.write("<TABLE border=\"2\" cellspacing=\"0\" cellpadding=\"2\" bordercolor=\"#003399\">\r\n                ");
      out.write("<TR bgcolor=\"#0033CC\">\r\n                    ");
      out.write("<TD>");
      out.write("<INPUT type=RADIO name='period' value='1' onclick='fieldsEnabled(1)' CHECKED>");
      out.write("<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#FFFFFF\">");
      out.write("<a onclick='fieldsEnabled2(1)'>Diario&nbsp;&nbsp;");
      out.write("</a>");
      out.write("</TD>\r\n                    ");
      out.write("<TD>");
      out.write("<INPUT type=RADIO name='period' value='2' onclick='fieldsEnabled(2)' ");
if(isMessageDataPresent && currentMessage.getPeriod()==2) out.print("CHECKED");
      out.write(">");
      out.write("<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#FFFFFF\">");
      out.write("<a onclick='fieldsEnabled2(2)'>Semanal&nbsp;");
      out.write("</a>");
      out.write("</TD>\r\n                    ");
      out.write("<TD>");
      out.write("<INPUT type=RADIO name='period' value='3' onclick='fieldsEnabled(3)' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3) out.print("CHECKED");
      out.write(">");
      out.write("<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#FFFFFF\">");
      out.write("<a onclick='fieldsEnabled2(3)'>Mensual&nbsp;&nbsp;");
      out.write("</a>");
      out.write("</TD>\r\n                    ");
      out.write("<TD>");
      out.write("<INPUT type=RADIO name='period' value='5' onclick='fieldsEnabled(4)' ");
if(isMessageDataPresent && currentMessage.getPeriod()==5) out.print("CHECKED");
      out.write(">");
      out.write("<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#FFFFFF\">");
      out.write("<a onclick='fieldsEnabled2(4)'>Ahora&nbsp;");
      out.write("</a>");
      out.write("</td>\r\n                    ");
      out.write("<td>");
      out.write("<INPUT type=RADIO name='period' value='4' onclick='fieldsEnabled(5)' ");
if(isMessageDataPresent && currentMessage.getPeriod()==4) out.print("CHECKED");
      out.write(">");
      out.write("<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#FFFFFF\">");
      out.write("<a onclick='fieldsEnabled2(5)'>Fechas especiales");
      out.write("</a>\r\n                    ");
      out.write("</TD>\r\n                ");
      out.write("</TR>\r\n                \r\n     ");
      out.write("<TR bgcolor='#FFFFFF'>\r\n                  ");
      out.write("<TD align=center>");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Hora:\r\n                        ");
      out.write("<SELECT name='hourList' size='4' ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()>3) out.print("disabled");}
      out.write(">\r\n                            ");
      out.write("<OPTION value='06:00:00' SELECTED>6:00");
      out.write("</OPTION>\r\n                         ");
if(isMessageDataPresent)
                           {
                            List myHourList = currentMessage.getPeriodList();
                            if(currentMessage.getPeriod()==1)
                                currentHour = ((SMSDaily)(myHourList.get(0))).getHora();
                            if(currentMessage.getPeriod()==2)
                                currentHour = ((SMSWeekly)(myHourList.get(0))).getHora();
                            if(currentMessage.getPeriod()==3)
                                currentHour = ((SMSMonthly)(myHourList.get(0))).getHora();
                           }
                         
      out.write("                            \r\n                            ");
      out.write("<OPTION value='07:00:00' ");
if(currentHour.equals("07:00:00")) out.print("SELECTED");
      out.write(">7:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='08:00:00' ");
if(currentHour.equals("08:00:00")) out.print("SELECTED");
      out.write(">8:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='09:00:00' ");
if(currentHour.equals("09:00:00")) out.print("SELECTED");
      out.write(">9:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='10:00:00' ");
if(currentHour.equals("10:00:00")) out.print("SELECTED");
      out.write(">10:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='11:00:00' ");
if(currentHour.equals("11:00:00")) out.print("SELECTED");
      out.write(">11:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='12:00:00' ");
if(currentHour.equals("12:00:00")) out.print("SELECTED");
      out.write(">12:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='13:00:00' ");
if(currentHour.equals("13:00:00")) out.print("SELECTED");
      out.write(">13:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='14:00:00' ");
if(currentHour.equals("14:00:00")) out.print("SELECTED");
      out.write(">14:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='15:00:00' ");
if(currentHour.equals("15:00:00")) out.print("SELECTED");
      out.write(">15:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='16:00:00' ");
if(currentHour.equals("16:00:00")) out.print("SELECTED");
      out.write(">16:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='17:00:00' ");
if(currentHour.equals("17:00:00")) out.print("SELECTED");
      out.write(">17:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='18:00:00' ");
if(currentHour.equals("18:00:00")) out.print("SELECTED");
      out.write(">18:00");
      out.write("</OPTION>                            \r\n                            ");
      out.write("<OPTION value='19:00:00' ");
if(currentHour.equals("19:00:00")) out.print("SELECTED");
      out.write(">19:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='20:00:00' ");
if(currentHour.equals("20:00:00")) out.print("SELECTED");
      out.write(">20:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='21:00:00' ");
if(currentHour.equals("21:00:00")) out.print("SELECTED");
      out.write(">21:00");
      out.write("</OPTION>\r\n                        ");
      out.write("</SELECT>\r\n                    ");
      out.write("</TD>\r\n                    ");
      out.write("<TD align=center>");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;Día(s)\r\n                        ");
      out.write("<SELECT name='dayOfWeekList' multiple size='4' ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()!=2) out.print("disabled");} else out.print("disabled");
      out.write(">\r\n                            ");
      out.write("<OPTION value='Lunes' ");
if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Lunes"))) out.print("SELECTED");
      out.write(">Lunes");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='Martes' ");
if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Martes"))) out.print("SELECTED");
      out.write(">Martes");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='Miercoles' ");
if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Miercoles"))) out.print("SELECTED");
      out.write(">Miercoles");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='Jueves' ");
if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Jueves"))) out.print("SELECTED");
      out.write(">Jueves");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='Viernes' ");
if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Viernes"))) out.print("SELECTED");
      out.write(">Viernes");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='Sabado' ");
if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Sabado"))) out.print("SELECTED");
      out.write(">Sabado");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='Domingo' ");
if(isMessageDataPresent && currentMessage.getPeriod()==2 && currentMessage.getPeriodList().contains(new SMSWeekly(0,"00:00","Domingo"))) out.print("SELECTED");
      out.write(">Domingo");
      out.write("</OPTION>\r\n                        ");
      out.write("</SELECT>\r\n                    ");
      out.write("</TD>\r\n                    ");
      out.write("<TD align=center>");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;&nbsp;&nbsp;Día(s)\r\n                    &nbsp;&nbsp;\r\n                        ");
      out.write("<SELECT name='dayOfMonthList' multiple size='4' ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()!=3) out.print("disabled");} else out.print("disabled");
      out.write(">\r\n                            ");
      out.write("<OPTION value='1' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",1))) out.print("SELECTED");
      out.write(">1");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='2' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",2))) out.print("SELECTED");
      out.write(">2");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='3' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",3))) out.print("SELECTED");
      out.write(">3");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='4' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",4))) out.print("SELECTED");
      out.write(">4");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='5' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",5))) out.print("SELECTED");
      out.write(">5");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='6' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",6))) out.print("SELECTED");
      out.write(">6");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='7' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",7))) out.print("SELECTED");
      out.write(">7");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='8' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",8))) out.print("SELECTED");
      out.write(">8");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='9' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",9))) out.print("SELECTED");
      out.write(">9");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='10' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",10))) out.print("SELECTED");
      out.write(">10");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='11' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",11))) out.print("SELECTED");
      out.write(">11");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='12' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",12))) out.print("SELECTED");
      out.write(">12");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='13' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",13))) out.print("SELECTED");
      out.write(">13");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='14' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",14))) out.print("SELECTED");
      out.write(">14");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='15' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",15))) out.print("SELECTED");
      out.write(">15");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='16' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",16))) out.print("SELECTED");
      out.write(">16");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='17' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",17))) out.print("SELECTED");
      out.write(">17");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='18' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",18))) out.print("SELECTED");
      out.write(">18");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='19' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",19))) out.print("SELECTED");
      out.write(">19");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='20' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",20))) out.print("SELECTED");
      out.write(">20");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='21' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",21))) out.print("SELECTED");
      out.write(">21");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='22' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",22))) out.print("SELECTED");
      out.write(">22");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='23' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",23))) out.print("SELECTED");
      out.write(">23");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='24' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",24))) out.print("SELECTED");
      out.write(">24");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='25' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",25))) out.print("SELECTED");
      out.write(">25");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='26' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",26))) out.print("SELECTED");
      out.write(">26");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='27' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",27))) out.print("SELECTED");
      out.write(">27");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='28' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",28))) out.print("SELECTED");
      out.write(">28");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='29' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",29))) out.print("SELECTED");
      out.write(">29");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='30' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",30))) out.print("SELECTED");
      out.write(">30");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='31' ");
if(isMessageDataPresent && currentMessage.getPeriod()==3 && currentMessage.getPeriodList().contains(new SMSMonthly(0,"00:00",31))) out.print("SELECTED");
      out.write(">31");
      out.write("</OPTION>\r\n                        ");
      out.write("</SELECT>\r\n                    ");
      out.write("</TD>\r\n                    ");
      out.write("<TD>&nbsp;&nbsp;");
      out.write("</td>\r\n                    ");
      out.write("<td>\r\n                    \r\n                    ");
      out.write("<table>\r\n                    ");
      out.write("<tr>");
      out.write("<td>\r\n                    \r\n\t\t    ");
if(isMessageDataPresent)
                  {
                   currentYear3 = currentMessage.getAddDate1().substring(0,4);
                   currentMonth3 = currentMessage.getAddDate1().substring(5,7);
                   currentDay3 = currentMessage.getAddDate1().substring(8,10);
                   currentHour3 = currentMessage.getAddDate1().substring(11,13);
                  }
                   
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;Día:\r\n                    ");
      out.write("<select onchange=\"updateDate(document.myForm.Date01,document.myForm.year1,document.myForm.month1,document.myForm.day1,document.myForm.hourList1)\" name=\"day1\" ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n\t\t    ");
      out.write("<option value=\"0\">\r\n\t\t    ");
      out.write("<option value=\"01\" ");
if(isMessageDataPresent && currentDay3.equals("01")) out.print("SELECTED");
      out.write(">01\r\n\t\t    ");
      out.write("<option value=\"02\" ");
if(isMessageDataPresent && currentDay3.equals("02")) out.print("SELECTED");
      out.write(">02\r\n\t\t    ");
      out.write("<option value=\"03\" ");
if(isMessageDataPresent && currentDay3.equals("03")) out.print("SELECTED");
      out.write(">03\r\n\t\t    ");
      out.write("<option value=\"04\" ");
if(isMessageDataPresent && currentDay3.equals("04")) out.print("SELECTED");
      out.write(">04\r\n\t\t    ");
      out.write("<option value=\"05\" ");
if(isMessageDataPresent && currentDay3.equals("05")) out.print("SELECTED");
      out.write(">05\r\n\t\t    ");
      out.write("<option value=\"06\" ");
if(isMessageDataPresent && currentDay3.equals("06")) out.print("SELECTED");
      out.write(">06\r\n\t\t    ");
      out.write("<option value=\"07\" ");
if(isMessageDataPresent && currentDay3.equals("07")) out.print("SELECTED");
      out.write(">07\r\n\t\t    ");
      out.write("<option value=\"08\" ");
if(isMessageDataPresent && currentDay3.equals("08")) out.print("SELECTED");
      out.write(">08\r\n\t\t    ");
      out.write("<option value=\"09\" ");
if(isMessageDataPresent && currentDay3.equals("09")) out.print("SELECTED");
      out.write(">09\r\n\t\t    ");
      out.write("<option value=\"10\" ");
if(isMessageDataPresent && currentDay3.equals("10")) out.print("SELECTED");
      out.write(">10\r\n\t\t    ");
      out.write("<option value=\"11\" ");
if(isMessageDataPresent && currentDay3.equals("11")) out.print("SELECTED");
      out.write(">11\r\n\t\t    ");
      out.write("<option value=\"12\" ");
if(isMessageDataPresent && currentDay3.equals("12")) out.print("SELECTED");
      out.write(">12\r\n\t\t    ");
      out.write("<option value=\"13\" ");
if(isMessageDataPresent && currentDay3.equals("13")) out.print("SELECTED");
      out.write(">13\r\n\t\t    ");
      out.write("<option value=\"14\" ");
if(isMessageDataPresent && currentDay3.equals("14")) out.print("SELECTED");
      out.write(">14\r\n\t\t    ");
      out.write("<option value=\"15\" ");
if(isMessageDataPresent && currentDay3.equals("15")) out.print("SELECTED");
      out.write(">15\r\n\t\t    ");
      out.write("<option value=\"16\" ");
if(isMessageDataPresent && currentDay3.equals("16")) out.print("SELECTED");
      out.write(">16\r\n\t\t    ");
      out.write("<option value=\"17\" ");
if(isMessageDataPresent && currentDay3.equals("17")) out.print("SELECTED");
      out.write(">17\r\n\t\t    ");
      out.write("<option value=\"18\" ");
if(isMessageDataPresent && currentDay3.equals("18")) out.print("SELECTED");
      out.write(">18\r\n\t\t    ");
      out.write("<option value=\"19\" ");
if(isMessageDataPresent && currentDay3.equals("19")) out.print("SELECTED");
      out.write(">19\r\n\t\t    ");
      out.write("<option value=\"20\" ");
if(isMessageDataPresent && currentDay3.equals("20")) out.print("SELECTED");
      out.write(">20\r\n\t\t    ");
      out.write("<option value=\"21\" ");
if(isMessageDataPresent && currentDay3.equals("21")) out.print("SELECTED");
      out.write(">21\r\n\t\t    ");
      out.write("<option value=\"22\" ");
if(isMessageDataPresent && currentDay3.equals("22")) out.print("SELECTED");
      out.write(">22\r\n\t\t    ");
      out.write("<option value=\"23\" ");
if(isMessageDataPresent && currentDay3.equals("23")) out.print("SELECTED");
      out.write(">23\r\n\t\t    ");
      out.write("<option value=\"24\" ");
if(isMessageDataPresent && currentDay3.equals("24")) out.print("SELECTED");
      out.write(">24\r\n\t\t    ");
      out.write("<option value=\"25\" ");
if(isMessageDataPresent && currentDay3.equals("25")) out.print("SELECTED");
      out.write(">25\r\n\t\t    ");
      out.write("<option value=\"26\" ");
if(isMessageDataPresent && currentDay3.equals("26")) out.print("SELECTED");
      out.write(">26\r\n\t\t    ");
      out.write("<option value=\"27\" ");
if(isMessageDataPresent && currentDay3.equals("27")) out.print("SELECTED");
      out.write(">27\r\n\t\t    ");
      out.write("<option value=\"28\" ");
if(isMessageDataPresent && currentDay3.equals("28")) out.print("SELECTED");
      out.write(">28\r\n\t\t    ");
      out.write("<option value=\"29\" ");
if(isMessageDataPresent && currentDay3.equals("29")) out.print("SELECTED");
      out.write(">29\r\n\t\t    ");
      out.write("<option value=\"30\" ");
if(isMessageDataPresent && currentDay3.equals("30")) out.print("SELECTED");
      out.write(">30\r\n\t\t    ");
      out.write("<option value=\"31\" ");
if(isMessageDataPresent && currentDay3.equals("31")) out.print("SELECTED");
      out.write(">31\r\n\t\t    ");
      out.write("</select>");
      out.write("</td>\r\n\t\t    ");
      out.write("<td>");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;Mes:\r\n\t\t    ");
      out.write("<select onchange=\"updateDate(document.myForm.Date01,document.myForm.year1,document.myForm.month1,document.myForm.day1,document.myForm.hourList1)\" name=\"month1\" ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n\t\t    ");
      out.write("<option value=\"0\">\r\n\t\t    ");
      out.write("<option value=\"01\" ");
if(isMessageDataPresent && currentMonth3.equals("01")) out.print("SELECTED");
      out.write(">enero\r\n\t\t    ");
      out.write("<option value=\"02\" ");
if(isMessageDataPresent && currentMonth3.equals("02")) out.print("SELECTED");
      out.write(">febrero\r\n\t\t    ");
      out.write("<option value=\"03\" ");
if(isMessageDataPresent && currentMonth3.equals("03")) out.print("SELECTED");
      out.write(">marzo\r\n\t\t    ");
      out.write("<option value=\"04\" ");
if(isMessageDataPresent && currentMonth3.equals("04")) out.print("SELECTED");
      out.write(">abril\r\n\t\t    ");
      out.write("<option value=\"05\" ");
if(isMessageDataPresent && currentMonth3.equals("05")) out.print("SELECTED");
      out.write(">mayo\r\n\t\t    ");
      out.write("<option value=\"06\" ");
if(isMessageDataPresent && currentMonth3.equals("06")) out.print("SELECTED");
      out.write(">junio\r\n\t\t    ");
      out.write("<option value=\"07\" ");
if(isMessageDataPresent && currentMonth3.equals("07")) out.print("SELECTED");
      out.write(">julio\r\n\t\t    ");
      out.write("<option value=\"08\" ");
if(isMessageDataPresent && currentMonth3.equals("08")) out.print("SELECTED");
      out.write(">agosto\r\n\t\t    ");
      out.write("<option value=\"09\" ");
if(isMessageDataPresent && currentMonth3.equals("09")) out.print("SELECTED");
      out.write(">septiembre\r\n\t\t    ");
      out.write("<option value=\"10\" ");
if(isMessageDataPresent && currentMonth3.equals("10")) out.print("SELECTED");
      out.write(">octubre\r\n\t\t    ");
      out.write("<option value=\"11\" ");
if(isMessageDataPresent && currentMonth3.equals("11")) out.print("SELECTED");
      out.write(">noviembre\r\n\t\t    ");
      out.write("<option value=\"12\" ");
if(isMessageDataPresent && currentMonth3.equals("12")) out.print("SELECTED");
      out.write(">diciembre\r\n\t\t    ");
      out.write("</select>");
      out.write("</td>\r\n                    ");
      out.write("<td>");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;Año:\r\n\t\t    ");
      out.write("<select onchange=\"updateDate(document.myForm.Date01,document.myForm.year1,document.myForm.month1,document.myForm.day1,document.myForm.hourList1)\" name=\"year1\" ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n\t\t    ");
      out.write("<option value=\"0\">\r\n\t\t    ");
      out.write("<option value=\"2003\" ");
if(isMessageDataPresent && currentYear3.equals("2003")) out.print("SELECTED");
      out.write(">2003\r\n\t\t    ");
      out.write("<option value=\"2004\" ");
if(isMessageDataPresent && currentYear3.equals("2004")) out.print("SELECTED");
      out.write(">2004\r\n\t\t    ");
      out.write("</select>");
      out.write("</td>\t\t    \r\n\t\t    ");
      out.write("<td>");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>&nbsp;Hora:\r\n                        ");
      out.write("<SELECT onchange=\"updateDate(document.myForm.Date01,document.myForm.year1,document.myForm.month1,document.myForm.day1,document.myForm.hourList1)\" name='hourList1' ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n                            ");
      out.write("<OPTION value='06:00:00' ");
if(isMessageDataPresent && currentHour3.equals("06")) out.print("SELECTED");
      out.write(">6:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='07:00:00' ");
if(isMessageDataPresent && currentHour3.equals("07")) out.print("SELECTED");
      out.write(">7:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='08:00:00' ");
if(isMessageDataPresent && currentHour3.equals("08")) out.print("SELECTED");
      out.write(">8:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='09:00:00' ");
if(isMessageDataPresent && currentHour3.equals("09")) out.print("SELECTED");
      out.write(">9:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='10:00:00' ");
if(isMessageDataPresent && currentHour3.equals("10")) out.print("SELECTED");
      out.write(">10:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='11:00:00' ");
if(isMessageDataPresent && currentHour3.equals("11")) out.print("SELECTED");
      out.write(">11:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='12:00:00' ");
if(isMessageDataPresent && currentHour3.equals("12")) out.print("SELECTED");
      out.write(">12:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='13:00:00' ");
if(isMessageDataPresent && currentHour3.equals("13")) out.print("SELECTED");
      out.write(">13:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='14:00:00' ");
if(isMessageDataPresent && currentHour3.equals("14")) out.print("SELECTED");
      out.write(">14:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='15:00:00' ");
if(isMessageDataPresent && currentHour3.equals("15")) out.print("SELECTED");
      out.write(">15:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='16:00:00' ");
if(isMessageDataPresent && currentHour3.equals("16")) out.print("SELECTED");
      out.write(">16:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='17:00:00' ");
if(isMessageDataPresent && currentHour3.equals("17")) out.print("SELECTED");
      out.write(">17:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='18:00:00' ");
if(isMessageDataPresent && currentHour3.equals("18")) out.print("SELECTED");
      out.write(">18:00");
      out.write("</OPTION>                            \r\n                            ");
      out.write("<OPTION value='19:00:00' ");
if(isMessageDataPresent && currentHour3.equals("19")) out.print("SELECTED");
      out.write(">19:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='20:00:00' ");
if(isMessageDataPresent && currentHour3.equals("20")) out.print("SELECTED");
      out.write(">20:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='21:00:00' ");
if(isMessageDataPresent && currentHour3.equals("21")) out.print("SELECTED");
      out.write(">21:00");
      out.write("</OPTION>\r\n                        ");
      out.write("</SELECT>");
      out.write("</td>");
      out.write("</tr>\r\n                    ");
      out.write("<tr>");
      out.write("<td>\r\n\t\t    ");
if(isMessageDataPresent)
                  {
                   currentYear3 = currentMessage.getAddDate2().substring(0,4);
                   currentMonth3 = currentMessage.getAddDate2().substring(5,7);
                   currentDay3 = currentMessage.getAddDate2().substring(8,10);
                   currentHour3 = currentMessage.getAddDate2().substring(11,13);
                  }
                   
      out.write("\r\n                    ");
      out.write("<select onchange=\"updateDate(document.myForm.Date02,document.myForm.year2,document.myForm.month2,document.myForm.day2,document.myForm.hourList2)\" name=\"day2\" ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n\t\t    ");
      out.write("<option value=\"0\">\r\n\t\t    ");
      out.write("<option value=\"01\" ");
if(isMessageDataPresent && currentDay3.equals("01")) out.print("SELECTED");
      out.write(">01\r\n\t\t    ");
      out.write("<option value=\"02\" ");
if(isMessageDataPresent && currentDay3.equals("02")) out.print("SELECTED");
      out.write(">02\r\n\t\t    ");
      out.write("<option value=\"03\" ");
if(isMessageDataPresent && currentDay3.equals("03")) out.print("SELECTED");
      out.write(">03\r\n\t\t    ");
      out.write("<option value=\"04\" ");
if(isMessageDataPresent && currentDay3.equals("04")) out.print("SELECTED");
      out.write(">04\r\n\t\t    ");
      out.write("<option value=\"05\" ");
if(isMessageDataPresent && currentDay3.equals("05")) out.print("SELECTED");
      out.write(">05\r\n\t\t    ");
      out.write("<option value=\"06\" ");
if(isMessageDataPresent && currentDay3.equals("06")) out.print("SELECTED");
      out.write(">06\r\n\t\t    ");
      out.write("<option value=\"07\" ");
if(isMessageDataPresent && currentDay3.equals("07")) out.print("SELECTED");
      out.write(">07\r\n\t\t    ");
      out.write("<option value=\"08\" ");
if(isMessageDataPresent && currentDay3.equals("08")) out.print("SELECTED");
      out.write(">08\r\n\t\t    ");
      out.write("<option value=\"09\" ");
if(isMessageDataPresent && currentDay3.equals("09")) out.print("SELECTED");
      out.write(">09\r\n\t\t    ");
      out.write("<option value=\"10\" ");
if(isMessageDataPresent && currentDay3.equals("10")) out.print("SELECTED");
      out.write(">10\r\n\t\t    ");
      out.write("<option value=\"11\" ");
if(isMessageDataPresent && currentDay3.equals("11")) out.print("SELECTED");
      out.write(">11\r\n\t\t    ");
      out.write("<option value=\"12\" ");
if(isMessageDataPresent && currentDay3.equals("12")) out.print("SELECTED");
      out.write(">12\r\n\t\t    ");
      out.write("<option value=\"13\" ");
if(isMessageDataPresent && currentDay3.equals("13")) out.print("SELECTED");
      out.write(">13\r\n\t\t    ");
      out.write("<option value=\"14\" ");
if(isMessageDataPresent && currentDay3.equals("14")) out.print("SELECTED");
      out.write(">14\r\n\t\t    ");
      out.write("<option value=\"15\" ");
if(isMessageDataPresent && currentDay3.equals("15")) out.print("SELECTED");
      out.write(">15\r\n\t\t    ");
      out.write("<option value=\"16\" ");
if(isMessageDataPresent && currentDay3.equals("16")) out.print("SELECTED");
      out.write(">16\r\n\t\t    ");
      out.write("<option value=\"17\" ");
if(isMessageDataPresent && currentDay3.equals("17")) out.print("SELECTED");
      out.write(">17\r\n\t\t    ");
      out.write("<option value=\"18\" ");
if(isMessageDataPresent && currentDay3.equals("18")) out.print("SELECTED");
      out.write(">18\r\n\t\t    ");
      out.write("<option value=\"19\" ");
if(isMessageDataPresent && currentDay3.equals("19")) out.print("SELECTED");
      out.write(">19\r\n\t\t    ");
      out.write("<option value=\"20\" ");
if(isMessageDataPresent && currentDay3.equals("20")) out.print("SELECTED");
      out.write(">20\r\n\t\t    ");
      out.write("<option value=\"21\" ");
if(isMessageDataPresent && currentDay3.equals("21")) out.print("SELECTED");
      out.write(">21\r\n\t\t    ");
      out.write("<option value=\"22\" ");
if(isMessageDataPresent && currentDay3.equals("22")) out.print("SELECTED");
      out.write(">22\r\n\t\t    ");
      out.write("<option value=\"23\" ");
if(isMessageDataPresent && currentDay3.equals("23")) out.print("SELECTED");
      out.write(">23\r\n\t\t    ");
      out.write("<option value=\"24\" ");
if(isMessageDataPresent && currentDay3.equals("24")) out.print("SELECTED");
      out.write(">24\r\n\t\t    ");
      out.write("<option value=\"25\" ");
if(isMessageDataPresent && currentDay3.equals("25")) out.print("SELECTED");
      out.write(">25\r\n\t\t    ");
      out.write("<option value=\"26\" ");
if(isMessageDataPresent && currentDay3.equals("26")) out.print("SELECTED");
      out.write(">26\r\n\t\t    ");
      out.write("<option value=\"27\" ");
if(isMessageDataPresent && currentDay3.equals("27")) out.print("SELECTED");
      out.write(">27\r\n\t\t    ");
      out.write("<option value=\"28\" ");
if(isMessageDataPresent && currentDay3.equals("28")) out.print("SELECTED");
      out.write(">28\r\n\t\t    ");
      out.write("<option value=\"29\" ");
if(isMessageDataPresent && currentDay3.equals("29")) out.print("SELECTED");
      out.write(">29\r\n\t\t    ");
      out.write("<option value=\"30\" ");
if(isMessageDataPresent && currentDay3.equals("30")) out.print("SELECTED");
      out.write(">30\r\n\t\t    ");
      out.write("<option value=\"31\" ");
if(isMessageDataPresent && currentDay3.equals("31")) out.print("SELECTED");
      out.write(">31\r\n\t\t    ");
      out.write("</select>");
      out.write("</td>\r\n\t\t    ");
      out.write("<td>\r\n\t\t    ");
      out.write("<select onchange=\"updateDate(document.myForm.Date02,document.myForm.year2,document.myForm.month2,document.myForm.day2,document.myForm.hourList2)\" name=\"month2\" ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n\t\t    ");
      out.write("<option value=\"0\">\r\n\t\t    ");
      out.write("<option value=\"01\" ");
if(isMessageDataPresent && currentMonth3.equals("01")) out.print("SELECTED");
      out.write(">enero\r\n\t\t    ");
      out.write("<option value=\"02\" ");
if(isMessageDataPresent && currentMonth3.equals("02")) out.print("SELECTED");
      out.write(">febrero\r\n\t\t    ");
      out.write("<option value=\"03\" ");
if(isMessageDataPresent && currentMonth3.equals("03")) out.print("SELECTED");
      out.write(">marzo\r\n\t\t    ");
      out.write("<option value=\"04\" ");
if(isMessageDataPresent && currentMonth3.equals("04")) out.print("SELECTED");
      out.write(">abril\r\n\t\t    ");
      out.write("<option value=\"05\" ");
if(isMessageDataPresent && currentMonth3.equals("05")) out.print("SELECTED");
      out.write(">mayo\r\n\t\t    ");
      out.write("<option value=\"06\" ");
if(isMessageDataPresent && currentMonth3.equals("06")) out.print("SELECTED");
      out.write(">junio\r\n\t\t    ");
      out.write("<option value=\"07\" ");
if(isMessageDataPresent && currentMonth3.equals("07")) out.print("SELECTED");
      out.write(">julio\r\n\t\t    ");
      out.write("<option value=\"08\" ");
if(isMessageDataPresent && currentMonth3.equals("08")) out.print("SELECTED");
      out.write(">agosto\r\n\t\t    ");
      out.write("<option value=\"09\" ");
if(isMessageDataPresent && currentMonth3.equals("09")) out.print("SELECTED");
      out.write(">septiembre\r\n\t\t    ");
      out.write("<option value=\"10\" ");
if(isMessageDataPresent && currentMonth3.equals("10")) out.print("SELECTED");
      out.write(">octubre\r\n\t\t    ");
      out.write("<option value=\"11\" ");
if(isMessageDataPresent && currentMonth3.equals("11")) out.print("SELECTED");
      out.write(">noviembre\r\n\t\t    ");
      out.write("<option value=\"12\" ");
if(isMessageDataPresent && currentMonth3.equals("12")) out.print("SELECTED");
      out.write(">diciembre\r\n\t\t    ");
      out.write("</select>");
      out.write("</td>\r\n\t\t    ");
      out.write("<td>\r\n\t\t    ");
      out.write("<select onchange=\"updateDate(document.myForm.Date02,document.myForm.year2,document.myForm.month2,document.myForm.day2,document.myForm.hourList2)\" name=\"year2\" ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n\t\t    ");
      out.write("<option value=\"0\">\r\n\t\t    ");
      out.write("<option value=\"2003\" ");
if(isMessageDataPresent && currentYear3.equals("2003")) out.print("SELECTED");
      out.write(">2003\r\n\t\t    ");
      out.write("<option value=\"2004\" ");
if(isMessageDataPresent && currentYear3.equals("2004")) out.print("SELECTED");
      out.write(">2004\r\n\t\t    ");
      out.write("</select>");
      out.write("</td>\r\n\t\t    ");
      out.write("<td>\r\n\t\t    ");
      out.write("<SELECT onchange=\"updateDate(document.myForm.Date02,document.myForm.year2,document.myForm.month2,document.myForm.day2,document.myForm.hourList2)\" name='hourList2' ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n                            ");
      out.write("<OPTION value='06:00:00' ");
if(isMessageDataPresent && currentHour3.equals("06")) out.print("SELECTED");
      out.write(">6:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='07:00:00' ");
if(isMessageDataPresent && currentHour3.equals("07")) out.print("SELECTED");
      out.write(">7:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='08:00:00' ");
if(isMessageDataPresent && currentHour3.equals("08")) out.print("SELECTED");
      out.write(">8:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='09:00:00' ");
if(isMessageDataPresent && currentHour3.equals("09")) out.print("SELECTED");
      out.write(">9:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='10:00:00' ");
if(isMessageDataPresent && currentHour3.equals("10")) out.print("SELECTED");
      out.write(">10:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='11:00:00' ");
if(isMessageDataPresent && currentHour3.equals("11")) out.print("SELECTED");
      out.write(">11:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='12:00:00' ");
if(isMessageDataPresent && currentHour3.equals("12")) out.print("SELECTED");
      out.write(">12:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='13:00:00' ");
if(isMessageDataPresent && currentHour3.equals("13")) out.print("SELECTED");
      out.write(">13:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='14:00:00' ");
if(isMessageDataPresent && currentHour3.equals("14")) out.print("SELECTED");
      out.write(">14:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='15:00:00' ");
if(isMessageDataPresent && currentHour3.equals("15")) out.print("SELECTED");
      out.write(">15:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='16:00:00' ");
if(isMessageDataPresent && currentHour3.equals("16")) out.print("SELECTED");
      out.write(">16:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='17:00:00' ");
if(isMessageDataPresent && currentHour3.equals("17")) out.print("SELECTED");
      out.write(">17:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='18:00:00' ");
if(isMessageDataPresent && currentHour3.equals("18")) out.print("SELECTED");
      out.write(">18:00");
      out.write("</OPTION>                            \r\n                            ");
      out.write("<OPTION value='19:00:00' ");
if(isMessageDataPresent && currentHour3.equals("19")) out.print("SELECTED");
      out.write(">19:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='20:00:00' ");
if(isMessageDataPresent && currentHour3.equals("20")) out.print("SELECTED");
      out.write(">20:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='21:00:00' ");
if(isMessageDataPresent && currentHour3.equals("21")) out.print("SELECTED");
      out.write(">21:00");
      out.write("</OPTION>\r\n                        ");
      out.write("</SELECT>");
      out.write("</td>");
      out.write("</tr>\r\n\t\t    ");
      out.write("<tr>");
      out.write("<td>\r\n\t\t    ");
if(isMessageDataPresent)
                  {
                   currentYear3 = currentMessage.getAddDate3().substring(0,4);
                   currentMonth3 = currentMessage.getAddDate3().substring(5,7);
                   currentDay3 = currentMessage.getAddDate3().substring(8,10);
                   currentHour3 = currentMessage.getAddDate3().substring(11,13);
                  }
                   
      out.write("\r\n                    ");
      out.write("<select onchange=\"updateDate(document.myForm.Date03,document.myForm.year3,document.myForm.month3,document.myForm.day3,document.myForm.hourList3)\" name=\"day3\" ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n\t\t    ");
      out.write("<option value=\"0\">\r\n\t\t    ");
      out.write("<option value=\"01\" ");
if(isMessageDataPresent && currentDay3.equals("01")) out.print("SELECTED");
      out.write(">01\r\n\t\t    ");
      out.write("<option value=\"02\" ");
if(isMessageDataPresent && currentDay3.equals("02")) out.print("SELECTED");
      out.write(">02\r\n\t\t    ");
      out.write("<option value=\"03\" ");
if(isMessageDataPresent && currentDay3.equals("03")) out.print("SELECTED");
      out.write(">03\r\n\t\t    ");
      out.write("<option value=\"04\" ");
if(isMessageDataPresent && currentDay3.equals("04")) out.print("SELECTED");
      out.write(">04\r\n\t\t    ");
      out.write("<option value=\"05\" ");
if(isMessageDataPresent && currentDay3.equals("05")) out.print("SELECTED");
      out.write(">05\r\n\t\t    ");
      out.write("<option value=\"06\" ");
if(isMessageDataPresent && currentDay3.equals("06")) out.print("SELECTED");
      out.write(">06\r\n\t\t    ");
      out.write("<option value=\"07\" ");
if(isMessageDataPresent && currentDay3.equals("07")) out.print("SELECTED");
      out.write(">07\r\n\t\t    ");
      out.write("<option value=\"08\" ");
if(isMessageDataPresent && currentDay3.equals("08")) out.print("SELECTED");
      out.write(">08\r\n\t\t    ");
      out.write("<option value=\"09\" ");
if(isMessageDataPresent && currentDay3.equals("09")) out.print("SELECTED");
      out.write(">09\r\n\t\t    ");
      out.write("<option value=\"10\" ");
if(isMessageDataPresent && currentDay3.equals("10")) out.print("SELECTED");
      out.write(">10\r\n\t\t    ");
      out.write("<option value=\"11\" ");
if(isMessageDataPresent && currentDay3.equals("11")) out.print("SELECTED");
      out.write(">11\r\n\t\t    ");
      out.write("<option value=\"12\" ");
if(isMessageDataPresent && currentDay3.equals("12")) out.print("SELECTED");
      out.write(">12\r\n\t\t    ");
      out.write("<option value=\"13\" ");
if(isMessageDataPresent && currentDay3.equals("13")) out.print("SELECTED");
      out.write(">13\r\n\t\t    ");
      out.write("<option value=\"14\" ");
if(isMessageDataPresent && currentDay3.equals("14")) out.print("SELECTED");
      out.write(">14\r\n\t\t    ");
      out.write("<option value=\"15\" ");
if(isMessageDataPresent && currentDay3.equals("15")) out.print("SELECTED");
      out.write(">15\r\n\t\t    ");
      out.write("<option value=\"16\" ");
if(isMessageDataPresent && currentDay3.equals("16")) out.print("SELECTED");
      out.write(">16\r\n\t\t    ");
      out.write("<option value=\"17\" ");
if(isMessageDataPresent && currentDay3.equals("17")) out.print("SELECTED");
      out.write(">17\r\n\t\t    ");
      out.write("<option value=\"18\" ");
if(isMessageDataPresent && currentDay3.equals("18")) out.print("SELECTED");
      out.write(">18\r\n\t\t    ");
      out.write("<option value=\"19\" ");
if(isMessageDataPresent && currentDay3.equals("19")) out.print("SELECTED");
      out.write(">19\r\n\t\t    ");
      out.write("<option value=\"20\" ");
if(isMessageDataPresent && currentDay3.equals("20")) out.print("SELECTED");
      out.write(">20\r\n\t\t    ");
      out.write("<option value=\"21\" ");
if(isMessageDataPresent && currentDay3.equals("21")) out.print("SELECTED");
      out.write(">21\r\n\t\t    ");
      out.write("<option value=\"22\" ");
if(isMessageDataPresent && currentDay3.equals("22")) out.print("SELECTED");
      out.write(">22\r\n\t\t    ");
      out.write("<option value=\"23\" ");
if(isMessageDataPresent && currentDay3.equals("23")) out.print("SELECTED");
      out.write(">23\r\n\t\t    ");
      out.write("<option value=\"24\" ");
if(isMessageDataPresent && currentDay3.equals("24")) out.print("SELECTED");
      out.write(">24\r\n\t\t    ");
      out.write("<option value=\"25\" ");
if(isMessageDataPresent && currentDay3.equals("25")) out.print("SELECTED");
      out.write(">25\r\n\t\t    ");
      out.write("<option value=\"26\" ");
if(isMessageDataPresent && currentDay3.equals("26")) out.print("SELECTED");
      out.write(">26\r\n\t\t    ");
      out.write("<option value=\"27\" ");
if(isMessageDataPresent && currentDay3.equals("27")) out.print("SELECTED");
      out.write(">27\r\n\t\t    ");
      out.write("<option value=\"28\" ");
if(isMessageDataPresent && currentDay3.equals("28")) out.print("SELECTED");
      out.write(">28\r\n\t\t    ");
      out.write("<option value=\"29\" ");
if(isMessageDataPresent && currentDay3.equals("29")) out.print("SELECTED");
      out.write(">29\r\n\t\t    ");
      out.write("<option value=\"30\" ");
if(isMessageDataPresent && currentDay3.equals("30")) out.print("SELECTED");
      out.write(">30\r\n\t\t    ");
      out.write("<option value=\"31\" ");
if(isMessageDataPresent && currentDay3.equals("31")) out.print("SELECTED");
      out.write(">31\r\n\t\t    ");
      out.write("</select>");
      out.write("</td>\r\n\t\t    ");
      out.write("<td>\r\n\t\t    ");
      out.write("<select onchange=\"updateDate(document.myForm.Date03,document.myForm.year3,document.myForm.month3,document.myForm.day3,document.myForm.hourList3)\" name=\"month3\" ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n\t\t    ");
      out.write("<option value=\"0\">\r\n\t\t    ");
      out.write("<option value=\"01\" ");
if(isMessageDataPresent && currentMonth3.equals("01")) out.print("SELECTED");
      out.write(">enero\r\n\t\t    ");
      out.write("<option value=\"02\" ");
if(isMessageDataPresent && currentMonth3.equals("02")) out.print("SELECTED");
      out.write(">febrero\r\n\t\t    ");
      out.write("<option value=\"03\" ");
if(isMessageDataPresent && currentMonth3.equals("03")) out.print("SELECTED");
      out.write(">marzo\r\n\t\t    ");
      out.write("<option value=\"04\" ");
if(isMessageDataPresent && currentMonth3.equals("04")) out.print("SELECTED");
      out.write(">abril\r\n\t\t    ");
      out.write("<option value=\"05\" ");
if(isMessageDataPresent && currentMonth3.equals("05")) out.print("SELECTED");
      out.write(">mayo\r\n\t\t    ");
      out.write("<option value=\"06\" ");
if(isMessageDataPresent && currentMonth3.equals("06")) out.print("SELECTED");
      out.write(">junio\r\n\t\t    ");
      out.write("<option value=\"07\" ");
if(isMessageDataPresent && currentMonth3.equals("07")) out.print("SELECTED");
      out.write(">julio\r\n\t\t    ");
      out.write("<option value=\"08\" ");
if(isMessageDataPresent && currentMonth3.equals("08")) out.print("SELECTED");
      out.write(">agosto\r\n\t\t    ");
      out.write("<option value=\"09\" ");
if(isMessageDataPresent && currentMonth3.equals("09")) out.print("SELECTED");
      out.write(">septiembre\r\n\t\t    ");
      out.write("<option value=\"10\" ");
if(isMessageDataPresent && currentMonth3.equals("10")) out.print("SELECTED");
      out.write(">octubre\r\n\t\t    ");
      out.write("<option value=\"11\" ");
if(isMessageDataPresent && currentMonth3.equals("11")) out.print("SELECTED");
      out.write(">noviembre\r\n\t\t    ");
      out.write("<option value=\"12\" ");
if(isMessageDataPresent && currentMonth3.equals("12")) out.print("SELECTED");
      out.write(">diciembre\r\n\t\t    ");
      out.write("</select>");
      out.write("</td>\r\n\t\t    ");
      out.write("<td>\r\n\t\t    ");
      out.write("<select onchange=\"updateDate(document.myForm.Date03,document.myForm.year3,document.myForm.month3,document.myForm.day3,document.myForm.hourList3)\" name=\"year3\" ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n\t\t    ");
      out.write("<option value=\"0\">\r\n\t\t    ");
      out.write("<option value=\"2003\" ");
if(isMessageDataPresent && currentYear3.equals("2003")) out.print("SELECTED");
      out.write(">2003\r\n\t\t    ");
      out.write("<option value=\"2004\" ");
if(isMessageDataPresent && currentYear3.equals("2004")) out.print("SELECTED");
      out.write(">2004\r\n\t\t    ");
      out.write("</select>");
      out.write("</td>\t\t    \r\n\t\t    ");
      out.write("<td>\r\n                        ");
      out.write("<SELECT onchange=\"updateDate(document.myForm.Date03,document.myForm.year3,document.myForm.month3,document.myForm.day3,document.myForm.hourList3)\" name='hourList3' ");
if(isMessageDataPresent) {if(currentMessage.getPeriod()==5) out.print("disabled");}
      out.write(">\r\n                            ");
      out.write("<OPTION value='06:00:00' ");
if(isMessageDataPresent && currentHour3.equals("06")) out.print("SELECTED");
      out.write(">6:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='07:00:00' ");
if(isMessageDataPresent && currentHour3.equals("07")) out.print("SELECTED");
      out.write(">7:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='08:00:00' ");
if(isMessageDataPresent && currentHour3.equals("08")) out.print("SELECTED");
      out.write(">8:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='09:00:00' ");
if(isMessageDataPresent && currentHour3.equals("09")) out.print("SELECTED");
      out.write(">9:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='10:00:00' ");
if(isMessageDataPresent && currentHour3.equals("10")) out.print("SELECTED");
      out.write(">10:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='11:00:00' ");
if(isMessageDataPresent && currentHour3.equals("11")) out.print("SELECTED");
      out.write(">11:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='12:00:00' ");
if(isMessageDataPresent && currentHour3.equals("12")) out.print("SELECTED");
      out.write(">12:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='13:00:00' ");
if(isMessageDataPresent && currentHour3.equals("13")) out.print("SELECTED");
      out.write(">13:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='14:00:00' ");
if(isMessageDataPresent && currentHour3.equals("14")) out.print("SELECTED");
      out.write(">14:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='15:00:00' ");
if(isMessageDataPresent && currentHour3.equals("15")) out.print("SELECTED");
      out.write(">15:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='16:00:00' ");
if(isMessageDataPresent && currentHour3.equals("16")) out.print("SELECTED");
      out.write(">16:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='17:00:00' ");
if(isMessageDataPresent && currentHour3.equals("17")) out.print("SELECTED");
      out.write(">17:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='18:00:00' ");
if(isMessageDataPresent && currentHour3.equals("18")) out.print("SELECTED");
      out.write(">18:00");
      out.write("</OPTION>                            \r\n                            ");
      out.write("<OPTION value='19:00:00' ");
if(isMessageDataPresent && currentHour3.equals("19")) out.print("SELECTED");
      out.write(">19:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='20:00:00' ");
if(isMessageDataPresent && currentHour3.equals("20")) out.print("SELECTED");
      out.write(">20:00");
      out.write("</OPTION>\r\n                            ");
      out.write("<OPTION value='21:00:00' ");
if(isMessageDataPresent && currentHour3.equals("21")) out.print("SELECTED");
      out.write(">21:00");
      out.write("</OPTION>\r\n                        ");
      out.write("</SELECT>");
      out.write("</td>");
      out.write("</tr>\r\n                    ");
      out.write("</table>\r\n                    ");
      out.write("</TD>\r\n                ");
      out.write("</TR>\r\n            ");
      out.write("</TABLE>\r\n            ");
      out.write("<BR>\r\n                    ");
      out.write("<INPUT type=hidden size=\"24\" maxlength=\"16\" name=\"Date01\"\r\n                     ");
if(isMessageDataPresent)
                         out.print(" value='"+currentMessage.getAddDate1()+"'");
                       else
                         out.print(" value='0000-00-00 00:00:00'");
                       
      out.write(">\r\n                    ");
      out.write("<INPUT type=hidden size=\"24\" maxlength=\"16\" name=\"Date02\"\r\n                     ");
if(isMessageDataPresent)
                         out.print(" value='"+currentMessage.getAddDate2()+"'");
                       else
                         out.print(" value='0000-00-00 00:00:00'");
                       
      out.write(">\r\n                    ");
      out.write("<INPUT type=hidden size=\"24\" maxlength=\"16\" name=\"Date03\"\r\n                     ");
if(isMessageDataPresent)
                         out.print(" value='"+currentMessage.getAddDate3()+"'");
                       else
                         out.print(" value='0000-00-00 00:00:00'");
                       
      out.write("> \r\n            ");
      out.write("<BR>\r\n            ");
      out.write("<TABLE>\r\n            ");
      out.write("<TR>\r\n            ");
      out.write("<TD WIDTH=\"10%\">");
      out.write("</TD>\r\n            ");
      out.write("<TD>");
      out.write("<INPUT type=SUBMIT name=\"remove\" value=\"Eliminar Mensaje\" ");
if(!isMessageDataPresent || isMessageSend) out.print("disabled");
      out.write(">");
      out.write("</TD>\r\n            ");
      out.write("<TD>\r\n            ");
      out.write("<INPUT onclick=\"textCounter(document.myForm.message,document.myForm.sizebox,158)\" type=SUBMIT name=\"add\" value=\"");
out.print(isMessageDataPresent && !isMessageSend?"Enviar mensaje":"Enviar Mensaje");
      out.write("\">");
      out.write("</TD> \r\n            ");
      out.write("<TD>");
      out.write("<INPUT type=SUBMIT name=\"reset\" value=\"Limpiar Pantalla\">");
      out.write("</TD>\r\n            ");
      out.write("<TD WIDTH=\"10%\">");
      out.write("</TD>\r\n            ");
      out.write("</TR>\r\n            ");
      out.write("</TABLE>\r\n            \r\n         ");
      out.write("<TD> \r\n     ");
      out.write("</TR>\r\n     ");
      out.write("</TABLE>\r\n");
      out.write("</TD>\r\n\r\n\r\n");
      out.write("<TD WIDTH=\"5%\">");
      out.write("</TD>\r\n");
      out.write("<TD WIDTH=\"35%\" VALIGN=\"top\">\r\n");
      out.write("<BR>");
      out.write("<br>\r\n\r\n");
      out.write("<table width=\"100%\" border=\"2\" cellspacing=\"0\" cellpadding=\"10\" bordercolor=\"#003399\">\r\n");
      out.write("<tr>");
      out.write("<td bgcolor=\"#FFFFFF\"> \r\n");
      out.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">\r\n");
      out.write("<tr bgcolor=\"#0033CC\">\r\n");
      out.write("<td align=center>");
      out.write("<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#FFFFFF\">");
out.print(userSender);
      out.write("</font>");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr>\r\n");
      out.write("<td align=center bgcolor='#FFFFFF'>");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Mensajes enviados");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr>\r\n");
      out.write("<td align=center bgcolor='#FFFFFF'>");
      out.write("<FONT color=black face='Arial, Helvetica, sans-serif' size=2>\r\n");
out.print( myDBAccess.getMsgsUsed( (String) session.getAttribute( "UserId" ) ) );
      out.write("\r\n");
      out.write("<BR>\r\n");
out.print("<INPUT type='button' name=searchMsgSent value='Consultar' onclick='searchMsgSentClick(\""+session.getAttribute("Username")+"\")'>");
      out.write("\r\n");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr>\r\n");
      out.write("<td align=center bgcolor='#FFFFFF'>");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Mensajes programados");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr>\r\n");
      out.write("<td align=center bgcolor='#FFFFFF'>");
      out.write("<FONT color=black face='Arial, Helvetica, sans-serif' size=2>\r\n");
out.print( myDBAccess.getMsgsProgramed( (String) session.getAttribute( "UserId" ) ) );
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr>\r\n");
      out.write("<td align=center bgcolor='#FFFFFF'>");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Mensajes por enviar");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr>\r\n");
      out.write("<td align=center bgcolor='#FFFFFF'>");
      out.write("<FONT color=black face='Arial, Helvetica, sans-serif' size=2>\r\n");
out.print(myDBAccess.getMsgsAvailables((String)session.getAttribute("UserId")));
      out.write("\r\n");
      out.write("<INPUT type='hidden' name='msgToSend' value = '");
out.print(myDBAccess.getMsgsAvailables((String)session.getAttribute("UserId")));
      out.write("'>");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
if(session.getAttribute("Username").equals("adm"))
{

      out.write("\r\n");
      out.write("<tr bgcolor=\"#0033CC\">\r\n");
      out.write("<td align=center>");
      out.write("<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#FFFFFF\">Mensajes de Telcel");
      out.write("</font>");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr>\r\n");
      out.write("<td bgcolor='#FFFFFF'>");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Enviados:&nbsp;\r\n");
      out.write("<FONT color=black face='Arial, Helvetica, sans-serif' size=2>");
 out.print(myDBAccess.getSentMsgTelcel());
      out.write("\r\n");
      out.write("<BR>\r\n");
      out.write("<FONT COLOR=blue face='Arial, Helvetica, sans-serif' size=2>Programados:&nbsp;\r\n");
      out.write("<FONT color=black face='Arial, Helvetica, sans-serif' size=2>");
 out.print(myDBAccess.getMsgProgramedTelcel());
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr bgcolor=\"#0033CC\">\r\n");
      out.write("<td align=center>");
      out.write("<font face=\"Arial, Helvetica, sans-serif\" size=\"2\" color=\"#FFFFFF\">Operadores");
      out.write("</font>");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("<tr>\r\n");
      out.write("<td align=center bgcolor='#FFFFFF'>");
      out.write("<FONT color=blue face='Arial, Helvetica, sans-serif' size=2>Estadisticas\r\n");
      out.write("<BR>\r\n");
out.print("<INPUT type='button' name=statistics value='Consultar' onclick='statisticsDB()'>");
      out.write("\r\n");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");

}

      out.write("\r\n");
      out.write("</table>");
      out.write("</table>\r\n\r\n\r\n");
      out.write("</TD>");
      out.write("<TD WIDTH=\"2%\">");
      out.write("</TD>\r\n");
      out.write("</TR>");
      out.write("</TABLE>\r\n\r\n        ");
      out.write("</FORM> \r\n");
      out.write("<HR>\r\n    ");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }
}
0
 

Author Comment

by:intanhm
ID: 12282540
ok, I´m sending you programAndSendMessages_jsp.java
0
 

Author Comment

by:intanhm
ID: 12282545
<%@page contentType="text/html"%>
<%@page import="mx.com.intech.services.SmsMsg1.users.JDCSMSMessages,java.net.URLEncoder"%>

<%
    boolean isUserInfoValid = false;
    boolean isLogin = false;
    String myUsername;
    String myPassword;
     
    if(request.getParameter("loginSubmit") != null){
      isLogin = true;
      JDCSMSMessages myDBAccess = new JDCSMSMessages();
     
      myUsername = request.getParameter("USERNAME") == null ? "" : request.getParameter("USERNAME").trim();
      myPassword = request.getParameter("PASSWORD") == null ? "" : request.getParameter("PASSWORD").trim();
       
      isUserInfoValid = (myUsername.equals("")||myPassword.equals(""))? false : myDBAccess.isUserValid(myUsername, myPassword);
     
      if( isUserInfoValid){
        String username = request.getParameter("USERNAME");
        session.setAttribute("Username",myUsername);
        session.setAttribute("UserId",""+myDBAccess.getUserID(myUsername));
        String referer;
        if(session.getAttribute("Intech.Referer")==null)
            referer = "index.jsp";
        else
            referer =(String)session.getAttribute("Intech.Referer");
%>
        <jsp:forward page="programAndSendMessages.jsp"/>
<%
        }
    }
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML>
  <HEAD>
    <TITLE>SMS Messaging - Acceso</TITLE>

  </HEAD>

  <BODY BGCOLOR="silver" TEXT="blue" >
 
  <CENTER>
  <H1> <IMG SRC="images/logo_1.gif" ALIGN=LEFT> Mobile Publicity 1.1 </H1>
  </CENTER>
   
  <MARQUEE WIDTH="75%" HEIGHT=50> Contacting to Everyone, Everywhere, Everytime </MARQUEE>
  <hr width="100%" size="2">


<table width="100%" border=0>
<tr>
  <td width="75%" valign=top>
   <table>
    <tr>
     <td><table cellspacing="0" border=1 bordercolor="#003399"><tr><td><img src="images/customers/coparmex.jpg" width="107" height="71"></td></tr></table>
     </td>
     <td><table cellspacing="0" border=1 bordercolor="#003399"><tr><td><img src="images/customers/master logo.jpg" width="270" height="58"></td></tr></table>
     </td>
    </tr>
    <tr>
     <td><table cellspacing="0" border=1 bordercolor="#003399"><tr><td><img src="images/customers/carrier.gif" width="107" height="71"></td></tr></table>
     </td>
     <td><table cellspacing="0" border=1 bordercolor="#003399"><tr><td><img src="images/customers/multicinemas.gif"></td></tr></table>
     </td>
     <td>
     </td>
    </tr>
    <tr>
     <td>
     </td>
     <td><table cellspacing="0" border=1 bordercolor="#003399"><tr><td><img src="images/customers/acdelco.jpg" width="217" height="58"></td></tr></table>
     </td>
     <td>
     </td>
    </tr>
   </table>
  </td>
 
  <td width="25%">
  <table border="2" cellspacing="0" cellpadding="0" bordercolor="#003399">
  <tr bgcolor="#0033CC">
  <td align=center><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">Área de Acceso</font></td>
  </tr>
  <tr>
  <td valign="top" align=center bgcolor='#FFFFFF'><img src="images/sms-ivana.jpg" alt="" width="260" height="125">

                       
                       <br>
                       <% if(isLogin && !isUserInfoValid) { %>
                       <font face="Arial, Helvetica, sans-serif" size="2" color="RED">
                         Usuario incorecto, <br>Teclee su usuario otra vez<br>
                       </font>
                       <% } %>
   
                   <form method="post" action="index.jsp" name="myform">
   
                     <table cellpadding="2" cellspacing="2" border="0" width="50">
                       <tbody>
                         <tr>
                           <td valign="top" align="right">
                             Usuario<br>
                           </td>
                           <td valign="middle">
                             <input type="text" name="USERNAME" size=18><br>
                           </td>
                         </tr>
                         <tr>
                           <td valign="top" align="right">
                             &nbsp;&nbsp;Contraseña<br>
                           </td>
                           <td valign="middle">
                             <input type="password" name="PASSWORD" size=18>&nbsp;<br>
                           </td>
                         </tr>
                         <tr>
                           <td valign="top">
                             <br>
                           </td>
                           <td valign="middle">
                             <input type="submit" name='loginSubmit' value=" Accesar SMS "><br>
                           </td>
                         </tr>
                       </tbody>
                     </table>
                   </form>
                </td>
    </tr>
  </table>
  </td>
</tr>
</table>

        <br>
        <br><br>
      </div>
    </div>
    <font size="-2">Copyright, INTECH S.A. de C.V. (C) 2002. Todos los derechos recervados.</font><br>
  </BODY>
 
</HTML>
0
 

Author Comment

by:intanhm
ID: 12282547
and the last one is index.jsp
I´m waiting for your answer.
0
 

Author Comment

by:intanhm
ID: 12282747
Hi!  Could you please give any suggestion or solution??
Thanks in advance.
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12284122
Your forwarding is in cycle.
try to create session in your index.jsp, just add line:
   if(request.getParameter("loginSubmit") != null){
      isLogin = true;
      request.getSession(true);

0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12284140
sorry. Just add JSP directive in the beginning of your index.jsp.
<%@page contentType="text/html" session="true"%>


0
 

Author Comment

by:intanhm
ID: 12287157
Hi! I simply changed:
<%@page contentType="text/html"%>
by:
<%@page contentType="text/html" session="true"%>
at index.jsp
BUT it doesn´t work.  I got the same error.
Any other suggestion??
Why did you tell me it works in your PC??  What configuration did you have??
Please, answer a.s.a.p.

0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:intanhm
ID: 12287588
Do you have any comment??  ...  Please!!!
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12290186
I took your two files and can reproduce your problem.
It is looping of two <jsp:forward>
I found a solution.
use <jsp:param> inside <jsp:forward> element in index.jsp to provide parameter for your programAndsendMessages.jsp
So in your index.jsp make following change:
        <jsp:forward page="test.jsp">
        <jsp:param name="Username" value="session.getAttribute('Username')"/>
         </jsp:forward>

and in your programAndsendMessages.jsp:
    if(session.isNew() || request.getParameter("Username")==null)

instead of     if(session.isNew() || session.getAttribute("Username")==null)
0
 

Author Comment

by:intanhm
ID: 12292958
Hi, ramazanyich!

I implemented your solution, but I´m getting the same error!!!
Why did you write:test.jsp?? at:
<jsp:forward page="test.jsp">
        <jsp:param name="Username" value="session.getAttribute('Username')"/>
         </jsp:forward>

...???
I add the files I have with your changes (index.jsp and programAndSendMessages.jsp), ... but I get the same error ...

<%@page contentType="text/html" session="true"%>


<%@page import="mx.com.intech.services.SmsMsg1.users.JDCSMSMessages,java.net.URLEncoder"%>

<%
    boolean isUserInfoValid = false;
    boolean isLogin = false;
    String myUsername;
    String myPassword;
     
    if(request.getParameter("loginSubmit") != null){
      isLogin = true;
      JDCSMSMessages myDBAccess = new JDCSMSMessages();
     
      myUsername = request.getParameter("USERNAME") == null ? "" : request.getParameter("USERNAME").trim();
      myPassword = request.getParameter("PASSWORD") == null ? "" : request.getParameter("PASSWORD").trim();
       
      isUserInfoValid = (myUsername.equals("")||myPassword.equals(""))? false : myDBAccess.isUserValid(myUsername, myPassword);
     
      if( isUserInfoValid){
        String username = request.getParameter("USERNAME");
        session.setAttribute("Username",myUsername);
        session.setAttribute("UserId",""+myDBAccess.getUserID(myUsername));
        String referer;
        if(session.getAttribute("Intech.Referer")==null)
            referer = "index.jsp";
        else
            referer =(String)session.getAttribute("Intech.Referer");
%>
        <jsp:forward page="programAndSendMessages.jsp">
        <jsp:param name="Username" value="session.getAttribute('Username')"/>
        </jsp:forward>
<%
        }
    }
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML>
  <HEAD>
    <TITLE>SMS Messaging - Acceso</TITLE>

  </HEAD>

  <BODY BGCOLOR="silver" TEXT="blue" >
 
  <CENTER>
  <H1> <IMG SRC="images/logo_1.gif" ALIGN=LEFT> Mobile Publicity 1.1 </H1>
  </CENTER>
   
  <MARQUEE WIDTH="75%" HEIGHT=50> Contacting to Everyone, Everywhere, Everytime </MARQUEE>
  <hr width="100%" size="2">


<table width="100%" border=0>
<tr>
  <td width="75%" valign=top>
   <table>
    <tr>
     <td><table cellspacing="0" border=1 bordercolor="#003399"><tr><td><img src="images/customers/coparmex.jpg" width="107" height="71"></td></tr></table>
     </td>
     <td><table cellspacing="0" border=1 bordercolor="#003399"><tr><td><img src="images/customers/master logo.jpg" width="270" height="58"></td></tr></table>
     </td>
    </tr>
    <tr>
     <td><table cellspacing="0" border=1 bordercolor="#003399"><tr><td><img src="images/customers/carrier.gif" width="107" height="71"></td></tr></table>
     </td>
     <td><table cellspacing="0" border=1 bordercolor="#003399"><tr><td><img src="images/customers/multicinemas.gif"></td></tr></table>
     </td>
     <td>
     </td>
    </tr>
    <tr>
     <td>
     </td>
     <td><table cellspacing="0" border=1 bordercolor="#003399"><tr><td><img src="images/customers/acdelco.jpg" width="217" height="58"></td></tr></table>
     </td>
     <td>
     </td>
    </tr>
   </table>
  </td>
 
  <td width="25%">
  <table border="2" cellspacing="0" cellpadding="0" bordercolor="#003399">
  <tr bgcolor="#0033CC">
  <td align=center><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">Área de Acceso</font></td>
  </tr>
  <tr>
  <td valign="top" align=center bgcolor='#FFFFFF'><img src="images/sms-ivana.jpg" alt="" width="260" height="125">

                       
                       <br>
                       <% if(isLogin && !isUserInfoValid) { %>
                       <font face="Arial, Helvetica, sans-serif" size="2" color="RED">
                         Usuario incorecto, <br>Teclee su usuario otra vez<br>
                       </font>
                       <% } %>
   
                   <form method="post" action="index.jsp" name="myform">
   
                     <table cellpadding="2" cellspacing="2" border="0" width="50">
                       <tbody>
                         <tr>
                           <td valign="top" align="right">
                             Usuario<br>
                           </td>
                           <td valign="middle">
                             <input type="text" name="USERNAME" size=18><br>
                           </td>
                         </tr>
                         <tr>
                           <td valign="top" align="right">
                             &nbsp;&nbsp;Contraseña<br>
                           </td>
                           <td valign="middle">
                             <input type="password" name="PASSWORD" size=18>&nbsp;<br>
                           </td>
                         </tr>
                         <tr>
                           <td valign="top">
                             <br>
                           </td>
                           <td valign="middle">
                             <input type="submit" name='loginSubmit' value=" Accesar SMS "><br>
                           </td>
                         </tr>
                       </tbody>
                     </table>
                   </form>
                </td>
    </tr>
  </table>
  </td>
</tr>
</table>

        <br>
        <br><br>
      </div>
    </div>
    <font size="-2">Copyright, INTECH S.A. de C.V. (C) 2002. Todos los derechos recervados.</font><br>
  </BODY>
 
</HTML>



* * * * * *  * * * * *  * * * *


<%@page contentType="text/html"%>
<%@page import="mx.com.intech.services.SmsMsg1.users.*,javax.comm.*,java.util.Date,java.text.SimpleDateFormat,java.io.*,java.util.Vector,java.util.List,java.util.ArrayList,java.util.StringTokenizer,java.util.Enumeration,java.util.Hashtable"%>

<%
    if(session.isNew() || request.getParameter("Username")==null)
    {
        session.setAttribute("Intech.Referer","programAndsendMessages.jsp");
%>
       <jsp:forward page="index.jsp"/>
<%
    }
        JDCSMSMessages myDBAccess = new JDCSMSMessages();
        SMSProcessSendTelcel processSend=new SMSProcessSendTelcel();
       
        // Action Flags

............................


0
 

Author Comment

by:intanhm
ID: 12292964
Please, give any other possible solution!!!
Do you think it could be a configuration error?? I mean something wrong in Tomcat or mysql configuration??
I´m wating for you.
Please, don´t let me forgotten.
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12293100
during my tests I renamed programAndsendMessages.jsp to test.jsp. that's  why in my solution I used test.jsp. In your case of course it should be programAndsendMessages.jsp
Strange thing that your modified files work well on my system (Tomcat 4.1.30).
Maybe on your system compiled JSP pages are not refreshed ?
Just remove $tomcat_home/work/Standalone directory and access your jsp pages from browser.
Tomcat will recompile JSP pages.
Let me know if that solves your problem.
0
 

Author Comment

by:intanhm
ID: 12293280
Hi, ramazanyich!

It´s me again.  I have the same error.  It doesn´t work :(
I have the same files and I removed the Standalone directory ... it doesn´t work.
What else can I do??
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12293295
remove session.isNew() from programAndsendMessages.jsp :
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 12293303
I'm really sorry, but it is now 2 AM local time and tomorrow I have to go to work on the morning. So I'm going to sleep.
If my last suggestion doesn't work I really don't know what to do else.