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 / ravi ranjan kumar rajnish

No, In case of ServletContext Bcoz there is one
ServletContext is for one for whole application.
But yes in case of ServletConfig, bcoz servletconfig is
servlet specific so it can more than one

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different session tracking techniques?

1242


Which are the different ways you can communicate between servlets?

1051


Which HTTP method is non-idempotent?

1184


What do you mean by default initialization in java servlet?

1141


What is a servlet context object?

1191


Explain request dispatcher and its methods.

1062


What is cookies in servlet with example?

1227


What are different ways for servlet authentication?

1165


What is a web container and what is its responsibility?

1032


How the JSP file will be executed on the Server side?

1191


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

1087


What is the difference between servlet and jsp?

1172


What do you mean by servlet?

1193


Can you refresh servlet in client and server-side automatically?

1131


How can a servlet be used to generate plain text instead of html?

996