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 called Scriptlet?

561


Is that servlet is pure java object or not?

640


How can the session in servlet can be destroyed?

707


How to upload a file to the server using servlet?

531


What is Servlet API used for connecting database?

614






What is servlet configuration?

524


How can we invoke another servlet in a different application?

704


What is the use of request dispatcher interface?

567


Explain web container.

565


What is called servlet container?

659


What is servlet and its advantages?

521


Which event is fired at the time of setting, getting or removing attribute from application scope?

609


What is the use of attribute in servlets?

540


What are the different ways we can maintain state between requests?

568


What is servlet invoker?

600