Yes. But fortunately it is not a tomcat issue. The NewRelic agent we used
for instrumentation, could've caused it. After disabling the Browser
instrumentation in newrelic it compiled fine. Also it worked well in other
server where we dont have newrelic. So Thanks for checking. Sorry for
updating it so late.

வெள்., 4 ஆக., 2023, முற்பகல் 12:41 அன்று, Mark Thomas <ma...@apache.org>
எழுதியது:

>
>
> On 01/08/2023 19:13, அருள்ராஜன் அ லை wrote:
> > Hi
> >
> > We are recently upgraded tomcat 8.5.91 . While the below JSP compiled
> into
> > JAVA it is missing some content
> >
> > JSP
> >
> > <!DOCTYPE html>
> > <html>
> > <head>
> > <link href="css/bootstrap.min.css" rel="stylesheet">
> > <title> </title>
> > </head>
> > <body class="bg-">
> > </body>
> > </html>
> >
> > JAVA class generated
> >
> >   try {
> >        response.setContentType("text/html");
> >        pageContext = _jspxFactory.getPageContext(this, request, response,
> >                          null, true, 8192, true);
> >        _jspx_page_context = pageContext;
> >        application = pageContext.getServletContext();
> >        config = pageContext.getServletConfig();
> >        session = pageContext.getSession();
> >        out = pageContext.getOut();
> >        _jspx_out = out;
> >
> >        out.write("<!DOCTYPE html>\n");
> >        out.write("<html>\n");
> >        out.write("<head>");
> >        out.write('\n');
> >      } catch (java.lang.Throwable t) {
> >        if (!(t instanceof javax.servlet.jsp.SkipPageException)){
> >          out = _jspx_out;
> >          if (out != null && out.getBufferSize() != 0)
> >            try {
> >              if (response.isCommitted()) {
> >                out.flush();
> >              } else {
> >                out.clearBuffer();
> >              }
> >            } catch (java.io.IOException e) {}
> >          if (_jspx_page_context != null)
> > _jspx_page_context.handlePageException(t);
> >          else throw new ServletException(t);
> >        }
> >
> >
> > you can see it is missing lot of HTML code in the JSP to Java
> compilation.
> > Any idea why it is happening. It is generating fine in another machine.
>
> If you delete the generated java code so Tomcat regenerates it do you
> still see the same issue?
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

-- 
நன்றி,
அருள்.

Reply via email to