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
Can filter be used as request or response?
What is the difference between Server and Container?
What is the use of request dispatcher interface?
What if we pass negative value in load-on-startup?
How can the session in servlet can be destroyed?
What's the advantages using servlets than using cgi?
Why doesn’t a servlet include main()?
Can you refresh servlet in client and server-side automatically?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
Why do we use sendredirect() method?
What is java servlet session?
Can we refresh servlet in client and server side automatically?
Explain servlet.
What is servlet name in web xml?
How do you load an image in a Servlet?