In JSTL/JSP when do I have to use <c:out value=“${myVar}”/> and when can I just say ${myVar}
问题 I've been doing this the whole time in my JSP code: <c:out value="${myVar}"/> Today I just realized for the first time that I seem to be able to use this shorter version just as well: ${myVar} It works without <c:out> ! Perhaps this is because my page is declared like this: <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" isELIgnored="false" %> So, my question is, can I replace <c:out> in my code with this shorter version? Is there any reason to keep using