I've analyzed a code with Findbugs and it reported a warning for
servlet reflected cross site scripting vulnerability.
Code is like that and the 3rd line throws the warning:
String tickName = request.getParameter("ticko");
PrintWriter w = response.getWriter();
w.println("Unable to perform tickonem '" + tickName +"' because no tick with that name is active!"); //this line throws warning.
What is the real reason for it and how to fix it?