개발
JSTL 버전별 사용 환경 및 사용 설정
한번
2011. 8. 11. 16:58
아파치에서 퍼온내용이다.
버전별로 필요한 항목이 적용되어 있다.
1.2 버전은 tomcat 6.0 부터 사용가능하다.
1.1 버전은 tomcat 5.5 부터 사용가능하다.
JSP(tm) Standard Tag Library implementations
jstl 1.1 의 경우
/WEB-INF/lib/
여기에 jstl.jar, starndard.jar 파일을 위치 시킨다.
/WEB-INF/web.xml 에
버전별로 필요한 항목이 적용되어 있다.
1.2 버전은 tomcat 6.0 부터 사용가능하다.
1.1 버전은 tomcat 5.5 부터 사용가능하다.
JSP(tm) Standard Tag Library implementations
Apache hosts the Apache Standard Taglib, an implementation of the JSP Standard Tag Library (JSTL) specification. Various versions are available.
Version | JSTL version | Requirements | Getting the Taglib |
Standard 1.2 | JSTL 1.2 (not yet JCP approved) | Servlet 2.5, JavaServer Pages 2.1 | svn |
Standard 1.1 | JSTL 1.1 | Servlet 2.4, JavaServer Pages 2.0 | download |
Standard 1.0 | JSTL 1.0 | Servlet 2.3, JavaServer Pages 1.2 | download |
News
Date | Item |
2009/04/22 | Moved to a Maven based build system. |
2008/12/21 | A patch from Robert Goff has moved the trunk of the Standard Taglib up towards JSTL 1.2 level. |
10/25/2004 | Standard Taglib version 1.1.2 - A minor bug fix update - is now available. |
07/20/2004 | Standard Taglib version 1.1.1 released - A minor bug fix update - is now available. |
01/30/2004 | Standard Taglib version 1.1.0 - First official release of our implementation of JSTL 1.1 - is now available. |
09/25/2003 | Standard Taglib version 1.1.0-B1 - early access (Beta 1) of our implementation of JSTL 1.1 - is now available. |
jstl 1.1 의 경우
/WEB-INF/lib/
여기에 jstl.jar, starndard.jar 파일을 위치 시킨다.
/WEB-INF/web.xml 에
<jsp-config>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
<taglib-location>/WEB-INF/tld/c.tld</taglib-location>
</taglib>
<taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/fn</taglib-uri>
<taglib-location>/WEB-INF/tld/fn.tld</taglib-location>
</taglib>
</jsp-config>