Re: [users@httpd] Application variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Providing you don't have too many application variables you could use environment variables set in the Apache configuration with the "SetEnv" directive, or inherited from whatever process starts your Apache with the "PassEnv" directive.
It all depends if you have access to update your apache configuration, and if you are happy doing this every time your application variables change.
I cannot help you with accessing environment variables from JSP, but that should be well documented.

On 14/08/06, Nir Nußbaum <nir.nussbaum@xxxxxxxxx> wrote:
Dear all,
I'd like to have Apache have application variables, to be retrieved later from within JSP pages, so I don't need to hard code them. For instance, I want it to keep a list of directories it need to scan for a certain action.
How is it possible? How can I retrieve them later in Java? I looked into WEB-INF/web.xml but it seems not to work.
Appericiate any help, Nir.



--
Steve Swift
http://www.swiftys.org.uk
[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux