This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Everyone here is willing to help. But if say "it doesn't work" without providing any relevant details, then chances are very high that your post will be ignored. While asking for help, please be sure to provide the necessary details so that others can help you.
Specifically, in this case, please provide more details about the Java version, the Tomcat version you are using. And also explain what "it doesn't work" mean. Do you see any exceptions? If yes, post the stacktrace.