百度google了一大圈没找到中文答案,无奈之下硬着头皮看了一个英文答案http://stackoverflow.com/questions/11502703/eclipse-can-not-find-the-tag-directory
You have to include/add standard.jar and jstl.jar (or simply addhttp://download.java.net/maven/1/jstl/jars/jstl-1.2.jar - no need to include standard.jar ) to your web-project via:
- Right mouse click on project name at Project Explorer
- Build Path + Configure Build Path + Libraries + Add External Jars + Select the downloaded jstl.jar and standard.jar (If you've installed
tomcat
then you will find these .jars at X:Program FilesApache Software FoundationApache Tomcat 7.0.22webappsexamplesWEB-INFlib) folder.
PS: For further information read - http://stackoverflow.com/tags/jstl/info
我竟然看懂了,,,,好吧,主要是他说的简单,意思差不多是缺少两个包,导入一下就好了,亲测成功.