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

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -

mysql - How to insert just year and month into date field? -