1

How to resolve xss issue on

I have tried like below in sample.jsp

form:options items="${some} htmlescape=true

still xss issue exists.

If tried like below in sample.jsp

form:options items="${fn.escapeXml(some)}

now xss issue no more exsits but then application is not working for this page sample.jsp...showing like invalid type of string for option items. Any help is appreciated.. Thanks in advance.

Priyanka
  • 21
  • 3

0 Answers0