2017  Kodetalk | Feedback | Privacy Policy | Terms | About
userimage

JSTL function to replace quote chars inside a string?

I am looking for the solution to replace the double quotes (") from string by using JSTL.

Please suggest.

userimage

You can replace the double quotes by using fn:replace() function.

<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

...${fn:replace(myString, '"', '"')}

Answer is