Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between servlet config and servlet
context.

Answer Posted / ganesh

ServletContext object is used to give the
initparameter(Context) values to each servlet written in a
web appliction
but in servletConfig is used to give initparameter values to
only to specific servlet in which they are mentioned at the
time in web.xml file

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the servlet filter.

928


What are the various ways of session supervision in servlets?

945


Which method is called when reference variable is passed in system.net?

2340


Whats the advantages using servlets over using CGI?

1004


What is a servlet context?

1085


Explain the concept of ssi ?

992


What are common tasks performed by Servlet Container?

1205


How to handle exceptions thrown by application with another servlet?

1033


Can you call a jsp from the servlet?

965


What is the difference between 2 types of servlets?

1083


Why do we need a constructor in a servlet if we use the init method?

986


How the JSP file will be executed on the Server side?

1075


How can we include static files in the jsp page?

1007


Explain in brief the directory structure of a web application?

1051


Which event is fired at the time of session creation and destroy?

1319