{"id":56309,"library":"jasper-compiler","title":"Tomcat Jasper Compiler","description":"The Jasper compiler for Apache Tomcat, used to compile JSP pages into servlets.","status":"active","version":"5.5.15","language":"java","source_language":null,"source_url":null,"tags":["tomcat","jsp","compiler","servlet"],"install":[{"cmd":"<dependency>\n  <groupId>tomcat</groupId>\n  <artifactId>jasper-compiler</artifactId>\n  <version>5.5.15</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'tomcat:jasper-compiler:5.5.15'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Compiler","correct":"org.apache.jasper.compiler.Compiler"}],"quickstart":{"code":"import org.apache.jasper.compiler.Compiler;\nimport org.apache.jasper.JspCompilationContext;\n\npublic class Example {\n    public static void main(String[] args) throws Exception {\n        JspCompilationContext ctx = new JspCompilationContext(\"/path/to/page.jsp\", null, null, null);\n        Compiler compiler = ctx.createCompiler();\n        compiler.compile();\n    }\n}","lang":"java","description":"Compiles a JSP file using the Jasper compiler."},"warnings":[{"fix":"Use a recent Tomcat release (e.g., 9.x or 10.x) which includes an updated Jasper compiler.","message":"Version 5.5.15 is very old and may have security vulnerabilities; consider upgrading to a newer Tomcat version.","severity":"breaking","affected_versions":"<=5.5.15"}],"env_vars":null,"search_vec":"'apach':8 'compil':3,6,12,19 'jasper':2,5 'jsp':13,18 'page':14 'servlet':16,20 'tomcat':1,9,17 'use':10","created_at":"2026-06-15T10:30:57.894455+00:00","updated_at":"2026-06-15T10:30:57.894455+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://tomcat.apache.org","github":null,"docs":"https://appdoc.app/artifact/tomcat/jasper-compiler/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}