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 can you use a servlet to generate a plain text instead of html?
What's the difference between servlets and applets?
what is servlet chaining?
What are the differences between servlet context vs servlet config?
Differentiate between get and post?
Which exception is thrown if the servlet is not initialized properly?
What do you mean by singlethreadmodel interface?
Explain the features are in servlet 3?
What is pure servlet?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
Differentiate between the get and post method
Explain session tracking and its importance?
Which java framework is most popular?
How does Cookies work in Servlets?
What if you need to span your transaction across multiple servlet invocations?