B
B
Bekulan Kairoshov2018-05-11 08:54:07
Java
Bekulan Kairoshov, 2018-05-11 08:54:07

How to do variable recoding in JSP?

I have such a JSP variable in the project

<c:set var="title" value="Тендер №${name} \"${fn:escapeXml(name)}\" от компании \"${name}\""/>

It is referenced by open graph when posting on facebook.
Since the value of the name variable can be anything, "crazy" sometimes pops up in publications.
Give advice on how to make the value of the variable name always encoded in Unicode

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question