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

解决方案 »

  1.   

    看一下是否是servlet2.4,在web.xml中<web-app.....2.4....2.4之前在标签里是不支持el的,请更正一下!还有jstl包,更新一下(javaee5下就有呀)
      

  2.   

    <c:out value="${myForm.username}">myForm这bean没有 username属性 或者 没有  getter方法
      

  3.   

    为什么我这样 <c:out value="${myForm.username}"> </c:out>组合用就会报:
    javax.servlet.ServletException: org.apache.jasper.JasperException: /success.jsp(12,0) According to TLD or attribute directive in tag file, attribute value does not accept any expressions
    这里不是组合的问题,第一:这里可能是你下载的包版本不队,所以出现了这样的问题,这里提示很明显,属性value不能够接纳人和expressions,也就是得不到值,、第二:可能写的表达式错误了,
      

  4.   

    According to TLD or attribute directive in tag file, attribute value does not accept any expressions  
     应该很清楚吧?TlD不对嘛,看看Jstl的Uri是不是写对了
      

  5.   

    According to TLD or attribute directive in tag file, attribute value does not accept any expressions  
     应该很清楚吧?TlD不对嘛,看看Jstl的Uri是不是写对了
      

  6.   

    很少用EL和JSTL,非常容易出错,用框架吧