JSP Tag Files in subdirectories, using a single taglib prefix. Is that possible?

前端 未结 3 1280
南方客
南方客 2021-02-20 00:04

I currently have my .tag files declared with:

<%@taglib prefix=\"t\" tagdir=\"/WEB-INF/tags\" %>

Example of the path of a tag file :

3条回答
  •  走了就别回头了
    2021-02-20 00:31

    Should work. Folder names under the specified tag-dir value become hyphen-separated parts of the tag names you would use.

提交回复
热议问题