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
What mechanisms are used by a Servlet Container to maintain session information?
What is the dispatcher servlet?
What do you mean by url pattern in servlet?
What is the directory structure of web application?
Where do you define dispatcherservlet?
What is the difference between Server and Container?
Explain the custom jsp tags and the beans.
Which httpsession object is used to view and manipulate information about a session?
What is meant by cookies?
Can we get PrintWriter and ServletOutputStream both in a servlet?
What is ServletConfig object?
What is the capacity the doget can send to the server?
How can we upload the file to the server using servlet?
Explain in brief the directory structure of a web application?
What are the uses of servlet and what is servlet chaining?