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
Why filter is used in servlet?
Differentiate between the get and post method
How to find whether a parameter exists in the request object?
What is the use of servlet context?
What is httpservlet and how it is different from genericservlet?
Why servlet is used as controller ? Not JSP? I want complete explation?
What do you mean by cgi in servlet?
What is the procedure for initializing a servlet?
What’s the difference between forward() and sendredirect() methods?
What is webservlet?
What are life cycle methods of a servlet?
What is called Session Tracking?
How to get the server information in a servlet?
What do you mean by annotations in servlet?
How do servlets work?