How to run a servlet program?

Answer Posted / anil reddy

WEB-INF
--classes dir(.class)
--lib dir
--src dir(.java)
--web.xml
-html file
-dhtml file
-jsp file
=>tomcat on and goto browser type your html name(http:
\\localhost:8081\.html)

Is This Answer Correct ?    10 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between get and post methods?

782


Is tomcat a servlet container?

780


Which is the methods of generated servlet?

889


Is it possible to have a constructor inside the servlet?

737


What are the uses of servlet

823


What are the functions of an intercepting filter?

714


What is servlet initializer?

701


Name the different ways of session tracking.

766


What is the use of attribute in servlets?

770


Can we override destroy method in servlet?

716


Why don't we write a constructor in a servlet?

792


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

824


How can we create deadlock situation in servlet?

1068


Explain the custom jsp tags and the beans.

792


What is getservletcontext?

727