我的是tomcat 6,mysql 5,想在前端页面中把mysql中的date类型的数据读取出来, 
显示到一个带日历控件的文本框,由于date的数据类型显示出来时,会以xxx-xx-xx 0:00:00显示, 
因此打算用jstl的FMT来格式化,页面部分代码如下 
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>  
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %> 
    <br> 
    <fmt:formatDate var="bookDate" value="${book.bookDate}" pattern="yyyy-MM-dd"/> 
    
  <input type="text" name="book.bookDate"   value="${bookDate}" onfocus="new WdatePicker(this)"/> 
但运行时出现如下错误 
  According to TLD or attribute directive in tag file, attribute value does not accept any expressions 我查过网上的讲解,也按其去做了,都不成功, 
偶的web.xml里,有这样的语句 
<?xml version="1.0" encoding="UTF-8"?> 
<web-app 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/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" 
  version="2.4"> 
同时也下了最新的jstl,standard.jar了,但依然不行,想请教一下