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

Servlet Context is used per Web apllication so we can't use
more than one Context,Servlet Config is per servlet or per
Jsp so you can use the more than one Config.....:-)

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is SingleThreadModel interface?

1089


Can we use the constructor, instead of init(), to initialize servlet?

1044


What is context in servlet?

981


What do you mean by mime type?

923


How can you use a servlet to generate a plain text instead of html?

1073


How do you deal property files in servlet?

1011


What is a web application and what is it’s directory structure?

1022


Can you use javascript in servlets?

1023


Who is responsible to create the object of servlet?

1154


What are some advantages of storing session state in cookies?

961


What is the difference between encodeRedirectUrl and encodeURL?

1060


What do you mean by a filter and how does it work?

898


How do you communicate in between Applets and Servlets?

1020


Explain load on start-up and its importance?

1067


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

1042