Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web.xml

 
Sim Raina
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it possible to declare a constant variable in web.xml so i can use it again and again.
if it is , can u tell how ,
thanks guys
 
Faisal Khan
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can set variables in the appliation context by doing the following:

and in your application you can do the following:

HTH
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic