Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
Servlets
« Previous
Next »
The init parameter name and value pairs that are defined in web.xml file are handled by
Options
- ServletConfig object
- ServletContext object
- ServletRequest object
- ServletResponse object
CORRECT ANSWER : ServletConfig object
Discussion Board
ServletConfig
ServletConfig is created by the web container for each servlet. It is an object that is used to get configuration information from web.xml file. There is no need to change the servlet if the configuration information is modified from web.xml file. It is easy to manage the web application if the content is modified time to time.
This object also consists of the init parameter name and value pairs that are stored and defined in web.xml file. For ServletConfig there is no need to edit the servlet file if information is modified from the web.xml file.
Rohit Sharma 11-30-2014 06:58 AM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
Java Beginner (11)
Java (39)
Java (40)
Java (22)
Java (30)
Java (25)
Java (20)
Java (20)
Core Java (20)
Core Java (10)
Core Java (72)
EJB (20)
JDBC (20)
Applet (20)
Struts (21)
Servlets (20)
Java Web Services (20)
Javascript (40)
J2EE (10)
jQuery (46)
Advertisement
▲