So... how do I get it to run with a servlet?

On 7/19/06, Christopher Schultz <[EMAIL PROTECTED]> wrote:

Ravi,

> Sorry, this is going over my head. Is there a way to look at the system
> properties without having to write a JSP?

There is:

public class Env
{
    public static void main(String[] args)
    {
        System.getProperties().list(System.out);
    }
}

Unfortunately, you can't run this from within Tomcat without something
like a JSP or servlet (or even a ConcetxtListener) to get it going.

I'm operating under the assumption that there is some other component
that is (possibly incorrectly) setting this default -- that it may not
show itself if you run this short program from the command line.

-chris





Reply via email to