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 / gaurav chauhan

You can take it like as every servlet has the same
ServletContext but every servlet has its own ServletConfig.

For Example: If you want the name of your company and email
address appear in all pages of your web applications then
you use ServletContext.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the life cycle methods of the servlet?

1035


What is http servlet?

1015


What is servlet used for?

1092


Why is http protocol called as a stateless protocol?

951


Which method is called when reference variable is passed in system.net?

2340


What do you mean by annotations in servlet?

1007


Explain get and post.

1055


What methodology can be followed to store more number of objects in a remote server?

2208


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

1075


Explain how does JSP handle run-time exceptions?

1036


What is meant by Servlet? What are the parameters of service method?

1006


Explain the methods of request dispatcher in servlet?

981


Explain url encoding in servlet?

995


How can we achieve transport layer security for our web application?

966


Is servlet a framework?

985