On 18 Oct 2005 05:42:05 -0700, junk5@microserf.org.uk wrote or quoted
>I am writing a custom JSP tag and I need to be able to determine how
>the servlet container is configured. Specifically, I want to be able to
>do things like get a list of the port numbers in use and which schemes
>they are using (e.g. HTTPS on port 8443).
>
>Is this possible?
Generally that sort of stuff is considered none of your business and
Java does not give you hooks to find it. I take it you have looked.
This leaves you next studying the native API looking for some C++
access to what you want. Then you can build some JNI glue to get what
you want.
See http://mindprod.com/jgloss/jni.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.