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

What is the apache struts vulnerability?

957


How to display validation errors on jsp page?

1020


Do we need to pay the struts if being used in commercial purpose?

1007


Explain about the process of functioning of the struts program?

1040


How to convert struts to spring mvc?

1007


How is forward action used for integration?

1021


What are the core classes of struts framework? Explain

1006


State an example of struts configuration file as an action parameter for action servlet.

1008


How you will make available any message resources definitions file to the struts framework environment?

980


Which file is used by controller to get mapping information for request routing?

1064


What applications use apache struts?

943


What is ValueStack and OGNL?

1056


What is the purpose of @results annotation?

1299


What's mvc pattern ?

1015


What's the purpose of execute method of action class?

952