• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1795
  • Last Modified:

context param in web.xml

I am try to study the code a open source web application
In the web.xml there is a context parameter defined as
  <context-param>
    <param-name>FS_traceLevel</param-name>
    <param-value>@TOMCAT_LOG_LEVEL@</param-value>
  </context-param>

and in the servlet the values is being fetched using
 String sInitParameter = servlet.getServletContext().getInitParameter( "FS_traceLevel" );

i want to know where is the value of @TOMCAT_LOG_LEVEL@ declared and what does this @ symbol mean here?
Thanks
0
thomas908
Asked:
thomas908
1 Solution
 
petmagdyCommented:
I think the value is Set by the ant script used to build Tomcat, look into the build.xml u will find that the ant script replaces @TOMCAT_LOG_LEVEL@ with the real value
0
 
thomas908Author Commented:
thanks for the help
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now