• Post Reply Bookmark Topic Watch Topic
  • New Topic

web.xml how to get context-param description?  RSS feed

 
Marvin Bautista
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there an API I can use to get "myDesc" below in my servlet? Thanks in advance.

<web-app id="WebApp">
.
.
<context-param>
<param-name>myName</param-name>
<param-value>myValue</param-value>
<description>myDesc</description>
</context-param>
.
.
.
</web-app>

[ April 05, 2007: Message edited by: Marvin Bautista ]
[ April 05, 2007: Message edited by: Marvin Bautista ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, I don't think that you can access the description. If you're dying for it, you could make another parameter like :

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!