You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/01/09 06:52:28 UTC

[Bug 55671] Backport genStringAsCharArray patch to Tomcat 6.x branch.

https://issues.apache.org/bugzilla/show_bug.cgi?id=55671

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
Steps to reproduce = ?
Where and how do you configure the JSP compiler? What does not work?


The correct init-parameter name in Tomcat 6 is "genStrAsCharArray"
and that is documented in
http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html

(Though the second mention of it in "Production Configuration" section says
"genStringAsCharArray", a typo.)

If you use it with Ant then yes, there is an inconsistency and you would have
to use <jasper genStringAsCharArray="true"/> as the setter in JspC.java is
setGenStringAsCharArray(...) with no matching getter.


I think backporting r889966 as is is wrong. I think EmbeddedServletOptions
should ask both the old and the new init-param name, for compatibility.
It also needs r1556725 and update to jasper-howto.html.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org