Re: set environment variables in tomcat

Kim Goldov <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Thanks everyone. Here is what I ended up with.

In my PerlHeaderParserHandler:

    $r->subprocess_env(AA_MYVAR => 'myvalue');
    $r->subprocess_env();

In jk.conf:

    JkEnvVar      AA_MYVAR

In Tomcat:

      out.println("AA_MYVAR is: " + request.getAttribute("AA_MYVAR") );

-- 
Kim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.