Define context initialization parameters.



Define context initialization parameters...

Answer / Gaurav Agarwal

Context Initialization Parameters (CIPs) are used to provide configuration data for web applications and servlets at deployment time. These parameters are defined in the web.xml file under the context-param element, and they can be accessed within the application using the getInitParameter(String name) method of the ServletConfig interface.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

How we can create war file in servlet?

1 Answers  


What is meant by cookies?

1 Answers  


What is servlet invoker?

1 Answers  


Describe servlet?

1 Answers  


Hi Friends, Suppose you have a web appliction which consists of 100 clients are connected with Connection pooling and they are associated with 100 connection objcet and connected with DB sever,Due some problem DB-Server suddenly crashed and server came to down state for a while after few minutes DB-server once again up,Now how will I manage my Pool Management with my 100 clients...can any one tell me??????????????????

3 Answers   ProgressSoft,


In howmany ways applet-servlet communication can be done?

1 Answers  


What is servlet initializer?

1 Answers  


I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>

1 Answers   ProKarma,


Difference between forward() method and sendredirect() method ?

1 Answers  


What are the functions of an intercepting filter?

1 Answers  


Which httpsession object is used to view and manipulate information about a session?

1 Answers  


What is ServletContext object?

1 Answers  


Categories