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 / suresh g

Question: What is the difference between servlet config and servlet context?

Servlet Context:
Servlet context is communication between server side .Every application has only one servlet context and is accessible to all action resource of that application.

Serclet Config:
Servlet Config is objcet created after a servlet is instantiation and its default constructor is read .It is create to pass initialization information the servlet.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is getservletcontext?

1142


Describe some assignments that are executed by servlet container?

1131


Can we override servlet service method?

1154


What are the differences between the servletconfig interface and the servletcontext interface?

1259


Can we use the constructor, instead of init(), to initialize servlet?

1154


Explain the servlet filter.

1045


Which is better jsp or servlet?

1105


Describe in brief RequestDespatcher?

1194


What are the differences between servlet context vs servlet config?

1146


What is the dispatcher servlet?

1030


How do you create a cookie using servlet?

1228


Difference between forward() method and sendredirect() method ?

1094


What is servlet mapping?

1079


Define declaration.

1125


What are some advantages of storing session state in cookies?

1084