What is ServletContext() and what is its use?
Answer Posted / a,srinivas rao
servletcontext is an object which contains the information
regarding all the servlets that are used in web application.
when ever user first do the deployment of the web
application on the server the web container instantiate a
servlet context object.the information in the servlet
context object is also passed to init method.
| Is This Answer Correct ? | 51 Yes | 20 No |
Post New Answer View All Answers
Explain the concept of ssi ?
Which method is called when reference variable is passed in system.net?
Which protocol will be used by browser and servlet to communicate
What is the life-cycle of servlets?
Explain load on start-up and its importance?
Differentiate between the web server and application server?
What is pure servlet?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
How are filters?
Can you call a jsp from the servlet?
What is difference between get and post method?
What is meant by cookies?
What is MIME Type?
Is java servlet still used?
What do you understand by mime type?