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 ServletContext and
ServletConfig?

Answer Posted / devarathnam chinnakotla. banga

Hi,

ServletContext: ServletContext is a view of webapplication,
there will be only one servletcontext for one
webapplication. It acts as shared memoty area, all the
components of a webapplication can access the data from
servletcontext object.

ServletConfig: ServletConfig will be specific to each
servlet. If your webapplication contains 20 servlets then,
there will be 20 servletsconfig objects.

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dispatchaction?

1080


what is meant by Struts Validator Framework?

991


What applications use apache struts?

922


What is the differences between struts1 and struts2?

924


What is the purpose of struct-config.xml in struct2?

968


What is difference between actionform and dynaactionform?

1016


When do I need “struts.jar” on my classpath?

959


Explain about struts relation to html tags?

953


What are the classes used as part of struts framework ?

949


What is the purpose of @customvalidator annotation?

970


What is strut web xml?

931


What is includeaction?

983


What is struts?

967


What is the default location of result pages and how can we change it?

1000


What is action class? What are the types of action class?

955