Sorry about not providing an example.

Below is the contents of a jspx file

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.0">
<html>
           <body>
<a href="#" onclick="clicked('Hello')">Hello</a>
</body>
</html>
</jsp:root>



In tomcat 7.0.32 the above jspx would generate the following html 
<html>
           <body>
<a href="#" onclick="clicked('Hello')">Hello</a>
</body>
</html>

However in tomcat 7.0.53 the html generated is 
<html>
           <body>
<a href="#" onclick="clicked(&#039;Hello&#039;)">Hello</a>
</body>
</html>

I was wondering why the single quotes are now being escaped in html output.

Thanks
Vimil
On Friday, May 2, 2014 7:14 AM, Konstantin Kolinko <knst.koli...@gmail.com> 
wrote:
 
2014-05-02 17:46 GMT+04:00 Vimil Saju <vimils...@yahoo.com>:

> Hi,
>
> I noticed that in version 7.0.53 single quotes in attributes of html tags 
> that are generated using jspx are being escaped with ' This was not the case 
> in version 7.0.32. Could someone explain the reason behind this change?

1) An example of what happens and what is expected = ?

2) See 'Jasper' section of the changelog, starting with 7.0.43
http://tomcat.apache.org/bugreport.html#Changelog

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to