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

Write a program to show the functionality of doget and dopost method?

656


What are the types of Session Tracking ?

648


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

2919


What is war file?

581


Difference between GET and POST?

713






What is the difference between using getSession(true) and getSession(false) methods?

572


What is meant by cookies?

613


Differentiate between the get and post method

566


What is servlet lazy loading?

696


What do you mean by cgi in servlet?

632


What is the GenericServlet class?

604


Explain the difference between servlet and cgi?

611


Which is the methods of generated servlet?

682


What are the functions of Servlet container?

609


What are different ways for servlet authentication?

567