tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alec Swan" <alecs...@gmail.com>
Subject accessing settings in server.xml from the servlet
Date Wed, 01 Nov 2006 23:36:45 GMT
Hi,

how can a servlet access maxThreads settings defined in server.xml? I
tried getServletContext(), getServletConfig(), getInitParameter(..),
getAttribute(..), etc, but I still can't find a way to access
server.xml
configuration. I guess I need to get ahold of the catalina engine and
the get the setting from the http connector. But what is the right way
to
do this?

Thanks.

Alec

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message