jsp - Can you package a WebFilter into a library -
and if how do it?.
yes sounds last question. , same problem. have @javax.servlet.annotation.webfilter
works fine when packaged directly war. move filter in library. if won't called more.
any pitfalls have out or plain impossible?
set <web-app metadata-complete="false">
.
this means metadata web application not limited particular xml (and classes of webapp), can use metadata 3rd party libraries.
also take @ "web fragments". can define web-fragment.xml
in meta-inf
of jar, , map servlets , filters there.
Comments
Post a Comment