2016-10-26 eclipse neon.1 创建 .tld

(1)http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd把xsd文件下下来。

(2)eclipse -->window-->preferences-->搜索xml-->选择xml catalog-->add-->把下载下来的xsd文件添加进去,keytype选择schema location

(3)在项目的web-inf下new xml,

  文件重命名为xxx.tld

    -->create xml file from an xml schema file

      -->select xml catalog entry

        -->key选择http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd-->namespace information中把xml移除,

          -->  namespace information中编辑j2ee的prefix把j2ee删掉。

    -->finish


 

尾注:

[转至:http://blog.sina.com.cn/s/blog_7bddce790102wfmc.html]

posted on 2016-10-26 19:16  背靠背  阅读(108)  评论(0编辑  收藏  举报

导航