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
Explain their methods? Tell me their parameter names also have you used threads in servlet?
How to create war file?
What exception should be thrown when servlet is not properly initialized?
Explain the difference between servletconfig and servletcontext in servlet?
What is the difference between context parameter and context attribute?
What does the term localization refer to?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
What are some disadvantages of storing session state in cookies?
What are different ways for authentication of servlet?
How we can create war file in servlet?
How will two or three servlets interact or communicate with each other?
What are the new features added to servlet 2.5?
What is difference between jsp and servlet?
Explain how does JSP handle run-time exceptions?
What mechanisms are used by a Servlet Container to maintain session information?