How about SSL? there are a few ssl Attributes for the Java Web Server,
but doesn't seem like they are supported by JServ.
Ted Stockwell wrote:
>
> The Servlet API has equivalents for almost all the CGI environment
> variables. For instance,
> ServletRequest.getProtocol, and
> ServletRequest.getServerName
>
> ted stockwell
>
> > -----Original Message-----
> > From: Greg Muscarella [SMTP:[EMAIL PROTECTED]]
> >
> > >
> > >2) How can I read variables that apache and its modules set into the
> > >Linux environment before opening a cgi. I saw that the jserv protocol
> > >reads the vars but couldn't figure out how to get them from my
> > >servlets.
> > >
> > You can access these "cgi" variables by uisng the getAttribute method.
> >
> > Do something like:
> >
> > String prefix = "org.apache.jserv.";
> > String SrvProt = request.getAttribute(prefix +
> > "SERVER_PROTOCOL").toString();
> > String SrvName = request.getAttribute(prefix + "SERVER_NAME ").toString();
> >
> >
> > I havn't found this documented anywhere though.
> >
> > Does anyone know of a way to do this in a servlet engine neutral way (e.g.
> > without the org.apache.jserv" part)?
> >
> > Greg
> >
>
> ----------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://www.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
--
Ivo
VP R&D
(TexStar Root Digital Certificate:
http://www.texstartech.com/CA/root.crt)
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]