This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line! See this thread for details.
I'm not aware of how to do this without war'ing the servlet and deploying it as a web component. Even if you could slip in a class file somewhere, each server does things differently, so you'd need to tell us the App Server, and someone may know.