This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Originally posted by Arajeshh Kumara: Please describe the steps..
This is not how Javaranch works. We'd love to help you but we're not going to re-iterate what's already been written in countless books and web tutorials.
Why don't you describe what you've done so far and maybe one of us can spot the problem for you. Another approach would be to use the search feature on this forum. Getting the first servlet working is one of most common topics in this forum and you can probably find a half a dozen threads each week with conversations about it. You may just learn from someone else's mistake.