How to get list of IP addresses and ports Tomcat is listening on, in a web-app

2009-03-19 Thread Leonard Smith
To all, I am writing a webapp which runs under tomcat 6.0.18 and I am new to java. My webapp is configured to load on startup and in the init method/function I want to get the list of IP addresses and ports that can be used to connect to my web-app. I cannot use the HttpServletRequest or ServletRe

Re: Tomcat treating a directory as a file

2007-05-06 Thread Leonard Smith
formation intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: &q

Tomcat treating a directory as a file

2007-05-06 Thread Leonard Smith
To all, I'm running Tomcat 5.5 on linux and I'm running into a problem with URLs. I have a directory in my webapp called "help" with an index.html in that directory. If I goto the URL http://foo.bar/help I get a 404 and the index.html is not loaded. However if I goto the URL http://foo.bar/help/