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

can we create more than ServletContext and ServletConfig in
your application

Answer Posted / narendhersharma

ServletContext which is managed by webcontainer, For the
whole web application only one servletcontext will be
there...

In ServletConfig , this is also managed by webcontainer,
for every request object one servletconfig object will be
there..

Is This Answer Correct ?    19 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to read request headers from servlets?

1051


How do you define a servlet?

988


What do you mean by scope object and what are its types?

1080


What do you mean by filter in servlet?

1010


What is difference between PrintWriter and ServletOutputStream?

1294


Define context initialization parameters.

1045


Are Servlets Thread Safe? How to achieve thread safety in servlets?

972


What is the use of attribute in servlets?

1048


Who is responsible for writing a constructor?

1267


Write a servlet to upload file on server.

1105


How do servlets work?

1044


How will two or three servlets interact or communicate with each other?

1450


What are the advantages of cookies?

1126


Can you use javascript in servlets?

1088


What are the jobs performed by servlets?

1088