Getting JSTL to run within Tomcat and Eclipse

前端 未结 2 1343
误落风尘
误落风尘 2020-12-10 01:26

I\'ve been trying to get this to run, but I can\'t. I\'m using Eclipse Galileo, Tomcat 5.5.23 and have several JSTLs around. My latest try was to use the GlassFish jar file

2条回答
  •  忘掉有多难
    2020-12-10 02:13

    Another method is shown here https://stackoverflow.com/tags/jstl/info

    In short, download jstl.jar from here:

    http://download.java.net/maven/1/jstl/jars/jstl-1.2.jar

    and drop it in your WEB-INF/lib dir

    and add the line:

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

    in your jsp file.

    (don't forget to do F5 and clean and build after that)

提交回复
热议问题