This content has been marked as final.
Show 2 replies
-
1. Re: Auto-register servlet filter in a WAR module of an EAR application in JBoss 7
sfcoy Jul 1, 2013 12:24 AM (in response to discger)From §8.1 of the Java Servlet Specification Version 3.1:
{quote}In a web application, classes using annotations will have their annotations processed only if they are located in the WEB-INF/classes directory, or if they are packaged in a jar file located in WEB-INF/lib within the application.{quote}
-
2. Re: Auto-register servlet filter in a WAR module of an EAR application in JBoss 7
discger Jul 1, 2013 3:07 PM (in response to sfcoy)Hello Stephen,
thanks for the clarification. After thinking about it - this is rather obvious, because otherwise a lot of unwanted auto-registration would happen in large applications.
Greetings, Dieter