Where can I put the .tld file so that the resulting JAR file built with maven2 is properly packed?

Currently, I have the following directory structure for my code:

src |-- main | `-- java | `-- com | `-- upthescala | `-- tags | `-- ViewProtectTag.java |-- test |-- pom.xml |-- .project |-- .classpath `-- .hgignore 

I want to include a tld file for my JSP tag, and I'm not sure where to pack it. My initial thought was to add the src/main/resources directory and put META-INF/viewprotect.tld .

+7
java web-applications jsp maven-2 jsp-tags
source share
1 answer

My initial thought is to add the src / main / resources directory and put META-INF / viewprotect.tld there

And this is a good initial thought.

+8
source share

All Articles