Answer Posted / giridhar gangapatnam
Sampleapplication
-- any html or jsp pages
-- WEB-INF
--web.xml
--lib(which contains any jar files)
--classes
--(all Servlet .class files)
After compilation of Servlet .java files start the Tomcat
Server and in URL type like:
http://localhost:8080/Sampleapplication/.html(or).jsp <--(enter)
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
What is preinitialization of a servlet?
List some life cycle methods of a servlet.
What is difference between get and post method?
What is the life cycle of a servlet?
How would you create deadlock on your servlet?
What is the purpose of dispatcherservlet properties?
Difference between httpservlet and generic servlets?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
What are the life cycle methods of a servlet?
Servlet is pure java object or not?
Can we refresh servlet in client and server side automatically?
Can we use the constructor, instead of init(), to initialize servlet?
What is difference between PrintWriter and ServletOutputStream?
Does servlet have main method?
What is the difference between servlet and filter?