Is there any differance b/w getting servlet context from
servlet config and session? if yes then what is that?
Answer Posted / nisha
Servlet config is one per servlet and servlet context is one for
the whole webapplication.
Servlet config is used to pass deploy time information to servlet
where servlet context can be used to get information about the
container,server.
| Is This Answer Correct ? | 13 Yes | 4 No |
Post New Answer View All Answers
How many objects of a servlet is created?
What is the capacity the doget can send to the server?
How do you create a cookie using servlet?
What do you mean by session tracking?
Difference between GET and POST?
When Servlet is unloaded?
How can the session in servlet can be destroyed?
Which protocol will be used by browser and servlet to communicate
How to get the actual path of servlet in server?
What are the mechanisms used by a servlet container for maintaining session information?
What is the major difference between context parameter and context attribute?
Differentiate between get and post?
When servlet object is created?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What is a servlet context?