-
Story
-
Resolution: Cannot Reproduce
-
Major
-
None
-
2.5.0.Final
-
None
.tag files in WebSphere allow to use pageContext variable, however this is not allowed in JBoss EAP.
A rule to identify this cases it will be good because in other case you need to test application to find this issues.
If you try it then the next exception appears:
16:05:47,113 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].
[/drgo01].[jsp]] (http-localhost/127.0.0.1:8080-1) JBWEB000236: Servlet.service() for servlet
jsp threw exception: org.apache.jasper.JasperException: JBWEB004062: Unable to compile
class for JSP:
JBWEB004060: An error occurred at line: 23 in the jsp file: /WEBÂ
INF/tags/drdc01/autocomplete.tag
pageContext cannot be resolved to a variable
20:
String noCacheOpt = noCache!
=null?"noCache:".concat(noCache).concat(", "):"
21:
String onSearchErrorOpt = onSearchError!
=null?"onSearchError:function(element, q, jqXHR, textStatus, errorThrown)
, "):"";
22:
23:
HttpServletRequest req = (HttpServletRequest) ((PageContext)
pageContext).getRequest();
- is related to
-
WINDUP-971 Add .tag and .tagx extensions in JspFileMappingRuleProvider
-
- Closed
-