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 Request Dispatcher?

818


What is called servlet mapping?

567


What are the uses of servlet

641


How to find whether a parameter exists in the request object?

673


What is difference between server and servlet?

591






What is the procedure of invoking different servlet in a different application?

571


Explain is servlet mapping?

592


Explain web application directory arrangement?

597


Is java servlet still used?

603


What is servlet initializer?

514


What is a cookie What is the difference between session and cookie

607


How can the session in servlet can be destroyed?

723


What are the advantages of servlets over traditional cgi?

636


What is ServletConfig object?

616


How servlets are deployed in java?

554