Struts Tag JSTL Tag
---------- --------
cookie c:set, EL
define c:set, EL
heade c:set, EL
include c:import
paramete c:set, EL
write c:out
而 Logic 也有幾個沒有實作
Struts Tag JSTL Tag
---------- --------
empty c:if, c:when, EL
equal c:if, c:when, EL
greaterEqual c:if, c:when, EL
greaterThan c:if, c:when, EL
lessEqual c:if, c:when, EL
lessThan c:if, c:when, EL
notEmpty c:if, c:when, EL
notEqual c:if, c:when, EL
====================================
要學習 struts-el 的語法很簡單,
首先要懂 what is jstl
盡可能使用 jstl
當 jstl 不能使用的時候 就使用 struts-el
範例
可以將 %jakarta-struts-1.1%/contrib/struts-el/webapps/strutsel-exercise-taglib.war 部署上去,
http://localhost:8080/strutsel-exercise-taglib/
try it