Forums Register Login

Escape HTML

+Pie Number of slices to send: Send
Hi,
Following is the jsp code




The problem that I am getting is. It does not convert & into Escape HTML form..

Is there any taglib or other method available to convert special character into HTML escape character.

Thanks,
Saumil
+Pie Number of slices to send: Send
<c:out>
+Pie Number of slices to send: Send
And for doing it in a place where tags cannot be used:

${fn:escapeXml(value)}

Read the JSTL Spec for more information.
+Pie Number of slices to send: Send
i tried <c:out > it didnt work.. []
+Pie Number of slices to send: Send
"it didn't work" is the most useless phrase you could post here.

What did happen? What did you expect to happen? What do you want to happen?
It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 4994 times.
Similar Threads
[JSTL] how can I convert values (string to int) in JSTL
problem with tag files
Cookie problem
Doubt in c:set tag
Getting id with javascript !
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 22:54:20.