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 servlet config and servlet
context.

Answer Posted / v.tulasiprasad

servlet config is used to obtain configuration data when it
is loaded in to the application server.
for each servlet servlet config will be indipendent and the
configuration of a servlet is intialized in the servlet
config file.

servlet context is used to obtain the information about the
environment in which it is running.one application have only
one servlet context file.through this servlet context file
we can acces servlets in that application.

Is This Answer Correct ?    10 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we have servlet wrapper classes?

1117


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

1134


Explain is servlet mapping?

1062


Can you create a deadlock condition on a servlet?

1128


How do you design microservices?

1157


What is a web application and what is it’s directory structure?

1130


What is meant by a web application

1071


How to read request headers from servlets?

1099


What is the element?

1101


Which is better jsp or servlet?

1105


What do you mean by request dispatcher in servlet?

1155


What are the benefits of using servlet over cgi?

1130


What is servlet container. how it works?

1178


how many jsp scripting elements are there and what are those?

1066


List out difference between a JavaBean from a Servlet?

1085