Actually it works perfectly in my local set up. However, it is throwing errors in production server.
Here is the details of the errors:
ERROR [InsertTag] ServletException in '/web/pages/exportAppInspectionDetails.jsp': Unable to compile class for JSP:
An error occurred at line: 89 in the generated java file
The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
Stacktrace: org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 89 in the generated java file The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit