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 Servlet Context?

Answer Posted / gaurav agrawal

ServletContext is the interface by which we can get the
information of the web container.this interface has some
methods by which we can get information

Is This Answer Correct ?    12 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1030


What are some advantages of storing session state in cookies?

1014


What are different ways for authentication of servlet?

1081


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

1099


Explain servlet life cycle?

1127


How can we refresh automatically when new data is entered into the database?

1099


What is called servlet mapping?

1072


Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!

2356


Why do we have servlet filters?

1021


How can you create a session in servlet?

1140


What are the uses of servlets?

1135


How to notify an object in session when session is invalidated or timed-out?

1082


What is the procedure for initializing a servlet?

1032


What do you mean by url pattern in servlet?

1112


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

1056