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 do you create message resource?

962


What is the purpose of @action annotation?

969


What is the need of struts?

922


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

1000


What is used to display the intermediate result in an interceptor?

902


1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

3133


Explain the core end goal while using java struts?

879


What is the difference between session scope and request scope when saving formbean ?

944


What are Struts2 core components?

955


What is the purpose of redirect result type?

972


How does one create an action in struts 2?

900


How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?

2918


How action mapping is configured in Struts?

1042


How does interceptor work in struts2?

891


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

957