一、struts2标签定义文件在struts2-core-2.0.11.1\META-INF 下面,文件名为struts-tags.tld
二、如果工程使用了servlet2.3规范,要做两件事,就能在工程中使用struts2标签了
1: 在web.xml中增加标签库的定义
<taglib>
<taglib-uri>/struts-tags</taglib-uri>
<taglib-location>/WEB-INF/lib/struts2-core-2.0.11.1.jar</taglib-location>
</taglib>
/struts-tags 是struts2标签库默认的URI,建议使用这个名称
2 在JSP中使用taglib编译指令导入标签库 <%@ taglib prefix="s" uri="/struts-tags" %>