I am getting veracode issue in the below line
<input type = "hidden" name = "studentName" value = "<%=viewBean.getStudName()%>">
The issue is on <%=viewBean.getStudName()%>
Here, the issue reported is "Improper Neutralization of Script-Related HTML tags in a web page(Basic XSS). I have tried the fix given in cwe.mitre.org but I could not apply it properly. Can anyone help on this how to overcome the issue?