https://issues.apache.org/bugzilla/show_bug.cgi?id=50634
--- Comment #5 from Christopher Schultz <ch...@christopherschultz.net> 2011-01-28 12:50:35 EST --- > Further testing shows outputting ${num} is not a bug. > > I suspect the web application you pre-compiled with JspC did not have a > web.xml. In this case, Tomcat assumes JSP < 2.0 where EL is not supported. > Hence ${num} gets treated as literal text. In fact, the webapp does have a web.xml using the 3.0 schema. > Add a web.xml with an appropriate specification version and the JSP will work > as intended. Sure? Does it also make sense that accessing the precompiled JSP gives me one behavior while accessing the non-precompiled JSP gives me another? I'll bet I know what happened: I pre-compiled the JSPs with no web.xml, so JspC defaulted as you say to JSP 2.0 with no EL availability. I deployed both the precompiled and source JSP into a 3.0-spec webapp, so the precompiled version and on-the-fly version operate differently. Lemmie double-check and I'll VERIFY INVALID. I'm still concerned about the CNFE, though... -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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