InterviewSolution
Saved Bookmarks
| 1. |
How does a servlet examine all its init parameters? |
|
Answer» We can MAKE use of getInitParameterNames() function to examine all its init parameters. public Enumeration ServletConfig.getInitParameterNames()This returns the names of the servlet's INITIALIZATION parameters as an Enumeration of STRING objects, or an EMPTY Enumeration if the servlet has no initialization parameters. This is OFTEN used for debugging. |
|