开发者

Have a JSP tag inside a Jar instead of WEB-INF/tags

Is it possible to have tag files (sample.tag) inside a jar archive instead of the WEB-INF of the .war archive?

I want to re-use a tag file in multiple web-apps without having to copy it into the WEB-INF al开发者_如何学编程ways.


Yes tag files can be packaged in a JAR file.

Summary: Tag files can be placed in one of two locations: in the /WEB-INF/tags/ directory or subdirectory of a web application or in a JAR file (see Packaged Tag Files) in the /WEB-INF/lib/ directory of a web application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜