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.