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

What is new in ServletRequest interface ? (Servlet 2.4)

965


What is http servlet?

1016


What is the web server used for running the Servlets?

962


What is the use of httpservletrequestwrapper?

1040


Is tomcat a servlet container?

980


What is servlet and list its types?

1015


What is servlet invoker?

991


What are the steps involved in placing a servlet within a package?

1030


Write a servlet to upload file on server.

1035


Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?

1205


Which event is fired at the time of session creation and destroy?

1322


List out difference between a JavaBean from a Servlet?

968


What is the life cycle of a servlet?

1424


Should I override the service() method?

1042


Explain the architechure of a servlet?

1059