JSTL in Action里面3.1.2说:In JSTL 1.0, expressions have special meaning only inside JSTL tag attributes. Spe- cifically, they don't work in template text. You can't simply write <p>Hi ${username}</p> in your page and expect the result to be dynamic.现在jstl1.1了. 是不是为了历史兼容?
2)<c:out标签 更安全
不仅仅是输出,还可以重用。
cifically, they don't work in template text. You can't simply write
<p>Hi ${username}</p>
in your page and expect the result to be dynamic.现在jstl1.1了.
是不是为了历史兼容?