| Author |
fetching details of Context parameter
|
Mayur Shinde
Greenhorn
Joined: Feb 15, 2012
Posts: 18
|
|
I have set context parameter in web.xml file naming email and adminemail, when i am using enumerator to view these fields, i am getting following details
param name adminemail
param name com.sun.faces.injectionProvider
param name com.sun.faces.validateXml
param name com.sun.faces.forceLoadConfiguration
param name email
why i am getting other parameter names?
|
 |
Prithvi Sehgal
Ranch Hand
Joined: Oct 13, 2009
Posts: 771
|
|
Dear Mayur,
Are you using getAttributeNames()?
BR,
|
Prithvi/Beenish,
My Blog, Follow me on Twitter,Scjp Tips, When you score low in mocks, Generics,Scjp Notes, JavaStudyGroup
|
 |
Mayur Shinde
Greenhorn
Joined: Feb 15, 2012
Posts: 18
|
|
Prithvi Sehgal wrote:Dear Mayur,
Are you using getAttributeNames()?
BR,
Hey,
I am using enumerator to get all the initparameter.
|
 |
Frits Walraven
Rancher
Joined: Apr 07, 2010
Posts: 1039
|
|
why i am getting other parameter names?
Because the Servlet-container developers are using this mechanism for their purpose...
Regards,
Frits
|
 |
 |
|
|
subject: fetching details of Context parameter
|
|
|