Re: Env vars, mod_jk and JkEnvVar?

2003-02-07 Thread Milt Epstein
On Tue, 4 Feb 2003, Jack on vacation wrote:

 Hi,

 What's the way to pass environment variables from Apache to Tomcat
 when using mod_jk?

 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html

 gives JkEnvVar SSL_CLIENT_V_START as an example, but how do I read this
 in a JSP? Will it appear as an attribute, if so, with what name?

I'm using JkEnvVar in one setup, and the variable in question comes in
as a request attribute.  I use the same name as on the JkEnvVar line.
So if you have

JkEnvVar SSL_CLIENT_V_START

you'd use

request.getAttribute(SSL_CLIENT_V_START)

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Env vars, mod_jk and JkEnvVar?

2003-02-04 Thread Jack on vacation
Hi,

What's the way to pass environment variables from Apache to Tomcat when 
using mod_jk?

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html

gives JkEnvVar SSL_CLIENT_V_START as an example, but how do I read this
in a JSP? Will it appear as an attribute, if so, with what name?

Many thanks

Jack


_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]