dcsimg

How do i specify Application-level variables in JSP?

Dave McDonnell

I'm not familiar with ASP buy you might try using a

<context-param>
tag in your web.xml. You can then access this value using
application.getInitParameter("param-name");

So in web.xml you would have something like this:

  <context-param>
    <param-name>paramName</param-name>
    <param-value>paramValue</param-value>
  </context-param>