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 are the different mode that servlets can be used?

774


Can servlet have a constructor ?

817


What's the use of servletcontext?

897


How does java thread pool work?

798


What is the major difference between servlet and applet?

777


Why servlet is used as controller ? Not JSP? I want complete explation?

909


What are all the ways for session tracking?

843


What are the objects involved when a servlet receives a call from client?

775


Explain the different ways for servlet authentication?

803


What if we pass negative value in load-on-startup?

1049


What is a web container and what is its responsibility?

751


How to commuincate between an applet and a servlet?

802


What are common tasks performed by Servlet Container?

996


What is the use of servletconfig interface?

798


How servlet is created?

796