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 / durairaj

ServletContext represents the unique configuration of particular webapplication in the WebContainer.The parameters set in the ServletContext can be retrieved universally in the particular webapplication

ServletConfig represents the unique configuration of a particular Servlet in the Webapplication.The parameters set in the ServletConfig can be retrieved universally in the particular Servlet class only(not outside)

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many action classes can be used in struts application?

992


Which interceptor is responsible for file upload support?

1031


What is the purpose of @keyproperty annotation annotation?

974


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

1007


How can we write our own interceptor and map it for action?

1056


What is http forward?

976


Where can I get a copy of struts?

939


Explain how can we upload files in struts2 application?

1065


Can we handle exceptions in Struts programmatically?

974


What are struts in java?

918


Explain about how requests from the client are sent?

1010


Is struts 1 still supported?

927


How to override the default error message that can come during file uploading process?

1059


Explain about the tag?

1108


What are the aware interfaces in struts2?

1015