According to TLD or attribute directive in tag file, attribute test does not accept any expressions

짜증나는 에러 메시지다. 뭔 문제일까 한참을 고민하고 찾았었다.
그러다 그나마 해결의 실마리가 될 만한 글을 발견하였다.
아직 해결하지 못했지만 좋은 정보가 될 것 같아서 체크해둔다. ^^;

근데 원래 글의 링크를 잃어버렸다. -_-; 
혹시 이글을 본래 주인이 보신다면 양해 좀 부탁드립니다. ^^;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

위의 에러가 발생했을 때 확인해야 할 부분

1. JSP 1.2 에서 JSTL 1.0 를 사용할 경우

- . rtexprvalue를 false 로 해야함

-. tld 위치 -->http://java.sun.com/jstl

    <%@ taglib uri='http://java.sun.com/jstl/core' prefix='c'%>

-. web.xml 에서 servlet 2.3 DTD 사용

   <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">


2. JSP 2.0 에서 JSTL 1.1 를 사용할 경우

- . rtexprvalue를 true 로 해야함

-. tld 위치 --> http://java.sun.com/jsp/jstl

    <%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>

-. web.xml 에서 servlet 2.4 DTD 사용

   <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2eehttp://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">


*관련 URL

http://forum.java.sun.com/thread.jspa?threadID=490923&messageID=2334837

추가 URL

http://dev-answers.blogspot.com/2006/12/according-to-tld-or-attribute.html

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

'Dev > java, flex, jsp, js' 카테고리의 다른 글

Charset and Codepage  (310) 2009.06.26
[Java] String Encoding  (1) 2009.06.25
xml to string  (1) 2009.06.09
[펌] Ant를 알아보자...  (0) 2009.04.09
jstl redirect with parameter  (0) 2008.12.16

+ Recent posts