https://issues.apache.org/bugzilla/show_bug.cgi?id=56491
Bug ID: 56491 Summary: attribute references do not resolve to their values Product: Tomcat 7 Version: 7.0.52 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: cubbyr...@gmail.com When referencing attributes either set by the container or by the application I am finding that references within jsps are not resolving to the attribute values. I have attached a very simple example. I am experiencing this problem on tomcat 7.0.52 and 7.0.53. (not 7.0.47 and not 8.0.5). I realize this is a major claim and am unable to find a bug having been opened for this specific problem. Time and time again I am seeing this happening. I have tested this on tomcat 7.0.52 and 7.0.53 windows and redhat linux. Below is the copied and pasted output of calling my example test servlet. (/test) <html> <head> <script type="text/javascript" src="${pageContext.request.contextPath}/assets/test.js"></script> <script type="text/javascript"> window.onload=someFunc(); </script> </head> <body> <h1>pageContext.request.contextPath: ${pageContext.request.contextPath}</h1> <img src="${pageContext.request.contextPath}/assets/test.gif" /> <div>customAttr: ${customAttr}</div> </body> </html> Thanks for any time invested in confirming this bug and or solving this issue. Sorry if I missed something simple, but I have been writing java ee code for 10 years and using tomcat for 7 years so I'm sure I haven't missed anything. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org