2011年5月17日火曜日

2011年5月16日月曜日

2011年5月14日土曜日

「According to TLD or attribute directive in tag file, attribute items does not accept any expressions」というエラー - jsp


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


JSP(jstl)を使ってエラーがでた。

タグリブの指定の仕方が古いバージョンを指定したのが原因でした。

古い(old)バージョン
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

これが新しい(new)
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>

新しいの指定してOK

もしかして、もうしばらくしたら指定するurlがoracleになるのかしら....
Share: