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 ServletContext() and what is its use?

Answer Posted / srikanth

ServletContext is called web application there would be one servlet context for entire web applicationthe .servlet context is used to get the context parameters specified in web.xml and also get the information of servlet engineand also request dispatcher object.

Is This Answer Correct ?    15 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to have a constructor inside the servlet?

1062


How do you design microservices?

1158


What are the type of protocols used in httpservlet?

1150


What are all the advantages of servlet over cgi?

1140


What is the major difference between context parameter and context attribute?

1169


How can we perform any action at the time of deploying the project?

1169


Whether thread can be used in servlets?

1266


How can the session in servlet be destroyed?

1214


What is the difference between Difference between doGet() and doPost()?

1368


How to make sure a servlet is loaded at the application startup?

1092


Differentiate between the print writer and servlet output stream?

1041


Explain Action Servlet?

1157


How do I use cookies to store session state on the client?

1028


How does tomcat servlet container work?

1131


How to find whether a parameter exists in the request object?

1164