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 do I know if java is running on linux?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is httpservlet class?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
Which application server is best for java?
Which java framework is most popular?
How do servlets work?
Is it good idea to create servlet constructor?
Write all the phases defined in servlet life cycle?
What is a web container and what is its responsibility?
Servlet is pure java object or not?
How can we invoke another servlet in a different application?
What are the difference between session and cookies in servlet? Explain
What is http servlet in java?
Given the request path below, which are context path, servlet path and path info?