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 / sulthansheriff

Servlet Context :
In servlet programming, the servlet context is the
environment where the servlet runs. The servlet container
creates a ServletContext object that you can use to access
information about the servlet's environment.

ServletConfig:
A servlet configuration object used by a servlet container
used to pass information to a servlet during initialization.

Is This Answer Correct ?    89 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use sendredirect() method?

929


How can you start a jta transaction from a servlet deployed on jboss?

1103


Explain the difference between a web server and a web container?

941


What are the different types of servlets?

969


What are some advantages of storing session state in cookies?

962


What is the use of servletconfig interface?

992


Whether we can get deadlock situation in servlets?

1010


What is the difference between sendredirect() and forward() in a servlet?

957


What is Servlets and explain the advantages of Servlet life cycle?

1037


Why do we need a constructor in a servlet if we use the init method?

986


What do you mean by request dispatcher in servlet? Also explain its methods.

1092


What are the uses of servlet and what is servlet chaining?

1045


What is servlet looping or chaining?

1073


What is the GenericServlet class?

1158


Why is httpservlet declared abstract?

1059