Include jsp inside a JAR file called from a tag-lib is not found if path not normalized
Issue
- JSP does not compile complaining about an include file not found.
-
Including a JSP throws JasperException "File not found".
ERROR [io.undertow.request] (default task-7) UT005023: Exception handling request to /tld-war/index.jsp: org.apache.jasper.JasperException: /META-INF/tags/copyright.tag (JBWEB004251: An error occurred at line: 3 column: 1) JBWEB004036: File "./includes/include1.jsp" not found at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:45) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:276) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:91) at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:326) at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:361) ...
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
