c:out
escapes HTML characters so that you can avoid cross-site scripting.
if person.name = <script>alert("Yo")</script>
the script will be executed in the second case, but not when using c:out
More Related Contents:
- JSP tricks to make templating easier?
- How to iterate an ArrayList inside a HashMap using JSTL?
- EL access a map value by Integer key
- How to do if-else in Thymeleaf?
- How to get a index value from foreach loop in jstl
- Use with HashMap [duplicate]
- Access Enum value using EL with JSTL
- IntelliJ and JSP/JSTL cannot resolve taglib for JSTL in tomcat7 [duplicate]
- How to resolve : Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core” [duplicate]
- The ultimate Java version table (J2EE, Java EE, Servlet, JSP, JSTL)
- I can pass a variable from a JSP scriptlet to JSTL but not from JSTL to a JSP scriptlet without an error
- Where can I download JSTL jar [closed]
- How can I print error stack trace in JSP page?
- How to pass parameter to jsp:include via c:set? What are the scopes of the variables in JSP?
- Iterating through a List Object in JSP
- How do I make a Java ResultSet available in my jsp? [duplicate]
- JSTL iterate over list of objects
- java.lang.NumberFormatException: For input string in JSP Page
- Retrieving cookie and array values in JSTL tags
- Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”
- How to open a Project in NetBeans
- How can I avoid Java code in JSP files, using JSP 2?
- ResultSet to Pagination
- Struts 2 : There is no Action mapped for namespace [/]
- Sharing session data between contexts in Tomcat
- Java HttpServletRequest get URL in browsers URL bar
- UTF-8 encoding in JSP page [duplicate]
- Is there a way to redirect to another Action class without using on struts.xml
- Displaying pdf in jsp
- Can not find the tag library descriptor of springframework