Minimal solution of list headers JSTL exercise (SL-314-EE6 mod 6 lab 1) without any <%…%> tags (e.g. for taglib declaration).
The document must be saved in a .jspx file (e.g. index.jspx):
1 2 3 4 5 6 7 8 9 10 11 12 13 | < jsp:directive.page contentType = "text/html;charset=UTF-8" /> < head >< title >Header jspx page</ title ></ head > < body > Request headers: < ul > < c:forEach var = "zheader" items = "${header}" > < li >${zheader}</ li > </ c:forEach > </ ul > </ body > </ html > |
No comments:
Post a Comment