Tomcat 7 does not allow trailing semicolon in JSP import directive
Issue
- Our application deploys successfully in the community version of Tomcat 7, but when deploying on JWS 2 or 3, some JSp pages fail to render. They have a semicolon at the end of a page import declaration:
<%@page import="com.example.MyClass;"%>
- tomcat deployment issue when having
;
with page import declaration.
Environment
- JBoss Web Server 2 or 3
- Tomcat 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.