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

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/

Re: Tomcat treating a directory as a file

2007-05-06 Thread Leonard Smith
Message - From: Leonard Smith [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Sunday, May 06, 2007 12:03 PM Subject: Tomcat treating a directory as a file 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