http://jakarta.apache.org/taglibs/index.html
定義方法
JSP
Servlet2.3より前
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
Servlet2.4
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
web.xml
error-page要素の下に。
Servlet2.3より前
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
</taglib>
Servlet2.4
<jsp-config>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
<taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
</taglib>
</jsp-config>
fmtとfmt_rt
EL for entire translation units. Users of JSTL 1.0 need to either
upgrade their taglib/ imports to the JSTL 1.1 URIs, or they need to use
the _rt versions of the tags (for example c_rt instead of c, or fmt_rt
instead of fmt).
リクエスト時の式モデルを使用する場合は、各URIに「_rt」を追加して、適切なTLDにアクセスしてください
core
c:import
<c:import url="/test.jsp" charEncoding="UTF-8">
<c:param name="v" value="aaaa"></c:param>
</c:import>
${param.aaaa}でいきなりつかえる。ただ、日本語は無理なのでResourceのKeyをわたすとか