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...

Is there any differance b/w getting servlet context from
servlet config and session? if yes then what is that?

Answer Posted / nisha

Servlet config is one per servlet and servlet context is one for
the whole webapplication.

Servlet config is used to pass deploy time information to servlet
where servlet context can be used to get information about the
container,server.

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Servlets and Applets?

1038


Explain request dispatcher and its methods.

988


What is the dispatcher servlet?

985


How to handle exceptions thrown by application with another servlet?

1086


Can we use threads in Servlets?

1140


Write all the phases defined in servlet life cycle?

1151


When jsessionid is created?

1045


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

1099


How do you design microservices?

1076


How native code can be used in a servlet?

4066


What is servlet and list its types?

1063


How to get the actual path of servlet in server?

1221


How the servlet is loaded?

1073


What is the type of method for sending request from http server?

1105


What is the importance of init() method in Servlet ?

1079