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
How do you create a cookie using servlet?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
Is servlet thread safe?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What’s the difference between sendredirect and forward methods
What are all the advantages of servlet over cgi?
Tell us something about servletcontext interface.
How to get the actual path of servlet in server?
What is servlet and its use?
Which java application server is the best?
How is a servlet implemented in code?
Explain the differences between jsp and servlet.
What is difference between server and servlet?
What do you mean by annotations in servlet?
What is MIME Type?