java - XSS attacks in jsp -


hi have jsp page in following lines

if(exception err) {   out.println (err.getmessage() + "<br/><br/>"); } 

may xss attacks want display above things without xss attacks thought ?

use c:out tag.

also see


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -