how to retrieve environment variables in servlet

#1
I have an external app (of type servlet engine) that I use to connect litespeed to a backend jboss server. When litespeed sends an incoming request on to JBoss, I would like to send along an environment variable. I see in the litespeed servlet engine config how to set this up, but I don't know how to retrieve it on the java end.

As far as I can tell, an environment variable is not one of the request headers, so I don't know how to get it.

Does anyone have any advice on this?

Thanks!
 
Top