Is there any differance b/w getting servlet context from
servlet config and session? if yes then what is that?
Answer Posted / thennavan.m
YES.
ServletContext(): To communicate with the Servlet Container.
Eg: What server to running on the
Environment.Then when sever is
started,who is login the server all
the information to store the
"Event log"file ie log4j.
ServletConfig(): Pass the configuration information to the
Server to the servlet.
Session(): Session is a Object to track
the user interaction with
the web application across multiple
HttpSession.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can the session in servlet be destroyed?
What is meant by session? Tell me something about httpsession class?
what is servlet chaining?
How many objects of a servlet is created?
What is the difference between Difference between doGet() and doPost()?
Describe servlet?
What are the advantages of servlets over traditional cgi?
How can we invoke another servlet in a different application?
What is called Scriptlet?
Whether we can get deadlock situation in servlets?
Explain web application directory arrangement?
Which event is fired at the time of project deployment and undeployment?
What is the difference between genericservlet and httpservlet
How printwriter is different from servletoutputstream?
What is context in servlet?