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

What is the difference in between the httpservlet and generic servlet?

1122


What are the steps that are involved in using the httpservlet class?

1127


How can the referrer and the target urls be used in servlet?

1011


What is called servlet container?

1094


What is servlet and its advantages?

1052


How to notify an object in session when session is invalidated or timed-out?

1086


What is the difference between servlet and filter?

949


If a servlet is not properly initialized, what exception may be thrown?

1184


What is servlet in simple terms?

1025


what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?

1048


What is the use of attribute in servlets?

1048


What is java servlet?

1051


What is a servlet?

1143


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

3395


What is the procedure of invoking different servlet in a different application?

1022