This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
You need to include the j2ee.jar file located in your lib directory of the installed j2ee distribution as part of your classpath when you compile your servlet. After that, assuming you correctly package your web application, you'll be just fine.
just add servlet.jar in ur classpath . Follow this: My Computer -> Properties ->Advanced ->Environment Variables then add a variable named CLASSPATH(if this is not already exist), give full path of the servlet.jar (C:\Tomcat..\common\lib\servlet.jar) sanjay.