Answer Posted / suresh
we have make dir name is,WEB-INF is the root directory
WEB-INF
--classes dir
--lib dir
--src dir
--web.xml
-html file
-dhtml file
-jsp file
lib dir contains
--jasper-runtime.jar
--servlet-api.jar
--jsp-api.jar
your source code put in the src dir
--put the WEB-INF dir in your tomcat server and run the servlet
| Is This Answer Correct ? | 27 Yes | 15 No |
Post New Answer View All Answers
Explain the role of dispatcherservlet and contextloaderlistener.
When to use doget() and when dopost()?
Which event is fired at the time of session creation and destroy?
How native code can be used in a servlet?
What is servlet? Explain
What's the servlet interface?
Write a simple servlet program to print the contents of html.
Explain the different ways for servlet authentication?
What is http servlet? Explain with the help of an example.
Explain the methods of request dispatcher in servlet?
How can we create deadlock situation in servlet?
What are the phases of the servlet life cycle?
Is dispatcher servlet a singleton?
Define the life cycle of a servlets.
Explain the lifecycle of a servlet?