Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is servlet context ?
Servlet context defines a set of methods that a servlet uses to communicate with its servlet container, for example, to get the MIME type of a file, dispatch requests, or write to a log file. A servlet context object is one per web application per JVM and this object is shared by all the servlet. You can get and set the Servlet context object. You can use servelt context object in your program by calling directly getServletContext() or getServletConfig().getServletContext().
Posted By: Name:Rajesh Kr URL: What is servlet context ?