REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Mark B. Indictor
OK -- I'm having a related problem: I can hit my servlet with the following httpd.conf and web.xml file setup with these two URLs: http://hostname:8080/s2/sb/ And http://hostname/SiteBlocks/sb/ From within the servlet, I am trying to reconstruct the URL. I am using the following code: ...

RE: REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Mark B. Indictor
getRequestURL() which will provide the requested URL that you are trying to rebuild. Charlie -Original Message- From: Mark B. Indictor [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 12:24 PM To: 'Tomcat Users List' Subject: REPOST: Please HELP!: URL Mapping Problems in servlet

RE: REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Mark B. Indictor
I appreciate the help, but this still does not solve my problem. You see, I need to handle URLs of the following forms: http://hostname/context/servlet/xxx as well as: http://hostname/context/servlet With your suggestion, I would be truncating these to: http://hostname/context/servlet and

RE: REPOST: Please HELP!: URL Mapping Problems in servlet

2002-02-27 Thread Mark B. Indictor
Thanks, Randy. I think this will work. I thought of doing this, but thought that there must be an existing method for extracting this information. This solution, though workable, seems like a kludge. Is Apache's concept of 'contexts' spec'd? If so, doesn't it seem logical that there should be a

RE: servlet-mapping problem

2002-02-26 Thread Mark B. Indictor
OK -- I'm having a related problem: I can hit my servlet with the following httpd.conf and web.xml file setup with these two URLs: http://hostname:8080/s2/sb/ And http://hostname/SiteBlocks/sb/ From within the servlet, I am trying to reconstruct the URL. I am using the following code: ...

Apple OS X and Jakarta Tomcat

2002-02-20 Thread Mark B. Indictor
I am having a problem with a new install of Tomcat 4.0.2 on OS X (10.1.3). The servlet seems to startup two times, and it does not respond to HTTP requests. As a matter of fact, no servlets in the configuration seem to respond to HTTP requests!!! The servlet successfully connects to a