http://java.sun.com/jstl/core这个绝对地址无法用这个应用展开

解决方案 »

  1.   

    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %><html>
      <head>
        <title>Counter page</title>
      </head>
      <body bgcolor="white">    <%-- Increment counters --%>
        <c:set var="sessionCounter" scope="session"
          value="${sessionCounter + 1}" />
        <c:set var="applCounter" scope="application"
          value="${applCounter + 1}" />    <h1>Counter page</h1>    This page has been visited <b>
        <c:out value="${sessionCounter}" />
        </b> times within the current session, and <b>
        <c:out value="${applCounter}" />
        </b> times by all users since the application was started.
      </body>
    </html>这个jsp页面是个例子。
    大家看看是个什么意思。看样子是在web.xml中缺少配置。
      

  2.   

    这个是用了Struts的自定义TAG吧?
    在WEB.XML里必须有这么一段
        <taglib>
            <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
            <taglib-location>/WEB-INF/tld/c.tld</taglib-location>
        </taglib>然后必须在WEB-INIF/tld/目录下有一个文件叫c.tld
      

  3.   

    ????
    怎么发现和我一个名字的?
    烦躁ing……