how to retrieve environment variables in servlet

Discussion in 'General' started by Shelby, Dec 28, 2009.

  1. Shelby

    Shelby New Member

    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!
  2. mistwang

    mistwang LiteSpeed Staff

Share This Page