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 are the applications of struts?

1003


Explain about the process of functioning of the struts program?

1083


Why use struts framework in java?

1169


How you will display validation fail errors on jsp page?

981


Explain about how requests from the client are sent?

1081


What is the purpose of @before?

1039


Explain about struts relation to html tags?

1002


What do you mean by actionform?

1016


Can you explain struts validator framework?

1056


What is life cycle of an interceptor?

1117


What are action errors?

1037


What is value stack?

1095


Which tag is used to declare constants in struts xml?

1035


What are result types in struts?

1049


How can we handle exceptions thrown by application in Struts2?

991