title: I am trying to do the function add one month to the current month in JSP and show the result in textbook in html
body: <p>This is my input box that should show date in one month.   </p>
  
  <pre><code>      &lt;div class="form-group"&gt;
        &lt;label for="datum_uplate"&gt;Datum isteka:&lt;/label&gt;
        &lt;input type="date" class="form-control" id="datum_isteka" name="datum_isteka" &gt;
  </code></pre>
  
  <p>This is my jsp code, I don't want to use javascript for security reasons.</p>
  
  <pre><code>    &lt;%
  
        LocalDateTime.now().plusMonths(1);
        int months = int.Parse("datum_isteka".toString());
        LocalDateTime newDate = LocalDateTime.now().plusMonths(months);
      %&gt;
  </code></pre>
  
  <p>And when I launch my tomcat this is what comes up:</p>
  
  <pre><code> Type Exception Report
  
   Message java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
  
   Description The server encountered an unexpected condition that prevented it from fulfilling the request.
  
  Exception
  
  org.apache.jasper.JasperException: java.lang.ClassNotFoundException:     org.apache.jsp.index_jsp
      org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:176)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:380)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
  org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  Root Cause
  
  java.lang.ClassNotFoundException: org.apache.jsp.index_jsp
  java.net.URLClassLoader.findClass(URLClassLoader.java:381)
  org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:129)
  org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:60)
  org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:171)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:380)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
  org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  Note The full stack trace of the root cause is available in the server logs.
  </code></pre>