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
How printwriter is different from servletoutputstream?
What is Request Dispatcher?
Explain the lifecycle of a servlet?
How servlet is created?
Why is a constructor needed in a servlet even if we use the init method?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
What is the difference between a generic servlet and http servlet?
What are the life-cycle methods for a servlet?
What are Servlets?
What is servlet and its advantages?
What is java servlet session?
How can you push data from an Applet to a Servlet?
Explain the features are in servlet 3?
What are the phases of a servlet life cycle?
Explain web application directory arrangement?