What is ServletContext() and what is its use?
Answer Posted / anjan
Assume that ServletContext is shared momeroy for all
servelts which are existed in a web application,
we can place an object on to the servletcontext, and that
can uses all other servlets which are exited in the web
application.
Is This Answer Correct ? | 153 Yes | 27 No |
Post New Answer View All Answers
What are the phases of a servlet life cycle?
How the typical servlet code look like ?
What are the two important api's in for servlets?
List the Different types of servlet?
Which protocol will be used by browser and servlet to communicate
Explain mvc pattern.
Explain the jar and war files in servlet?
What are the uses of servlet and what is servlet chaining?
Define the servlet mapping.
Explain the difference between a web server and a web container?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What are the types of protocols supported by httpservlet ?
What is http servlet in java?
List some life cycle methods of a servlet.
Who is responsible to create the object of servlet?