Used to print server-side variables to prevent HTML / XML leakage. When you apply this on a user-controlled input (request parameters, headers, cookies, stored data, etc.), this will prevent your XSS website from attacking holes.
If the displayed data is not controlled by the end user and you are using JSP 2.0 or later ( web.xmldeclared as Servlet 2.4 or later, and the container supports it), you can also just use
${bean.property}
instead
<c:out value="${bean.property}" />
See also: