You need to put it in the path to the runtime. /WEB-INF/classes covered by the default execution class for the default webapp. So it should end.
However, if you are using an IDE, you can also drop them in the src folder of the project (no, not /WEB-INF/src !), Then a slightly decent IDE will automatically put it in /WEB-INF/classes at build time.
source share