ltl3885 2009-07-23 17:41
浏览 184
已采纳

web.xml配置

<taglib>
    <taglib-uri>/s</taglib-uri> 
    <taglib-location>classpath*:/struts-tags.tld</taglib-location> 
</taglib>


   classpath* 指的是什么啊? 我的工程中也没有struts-tags.tld啊?(除了struts核心包中)
   为什么不这样写呢?
    <taglib-location>/WEB-INF/lib/struts2-core-2.0.11.1.jar</taglib-location>
  • 写回答

6条回答 默认 最新

  • li28544071 2009-07-23 21:44
    关注

    在web工程中,classpath 指向是你工程项目下WEB-INF/classes目录

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(5条)

报告相同问题?