• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

fetching details of Context parameter

 
Mayur Shinde
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 774
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Mayur,

Are you using getAttributeNames()?

BR,
 
Mayur Shinde
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prithvi Sehgal wrote:Dear Mayur,

Are you using getAttributeNames()?

BR,



Hey,
I am using enumerator to get all the initparameter.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2419
95
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why i am getting other parameter names?


Because the Servlet-container developers are using this mechanism for their purpose...

Regards,
Frits
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic