Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 91121 invoked from network); 18 Dec 2000 21:22:05 -0000 Received: from ns1.syntegra.com (150.143.16.2) by locus.apache.org with SMTP; 18 Dec 2000 21:22:05 -0000 Received: from [129.179.161.11] by ns1.cdc.com with ESMTP for tomcat-user@jakarta.apache.org; Mon, 18 Dec 2000 15:21:37 -0600 Received: from ns1.cdc.com by cdsms.cdc.com with ESMTP for tomcat-user@jakarta.apache.org; Mon, 18 Dec 2000 15:21:36 -0600 Received: from [206.9.170.61] by ns1.cdc.com with ESMTP for tomcat-user@jakarta.apache.org; Mon, 18 Dec 2000 15:21:36 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message Subject: RE: link problem Date: Mon, 18 Dec 2000 15:21:09 -0600 Message-Id: <51E54DD2477FCB4FB4E21616A5B2FA2C02B6BC@cis-exchange.jedi.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: link problem Thread-Index: AcBpNPAjgEUxy9sIQdyXZwnXh/pfvQAANXfg From: "Jacob Kjome" To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N You can use: ":" + request.getServerPort() jake -----Original Message----- From: MK [mailto:maksim.kopelovich@guidance.com] Sent: Monday, December 18, 2000 2:58 PM To: tomcat-user@jakarta.apache.org Subject: link problem I have a problem which breaks my head :-) I am using Tomcat 3.2.1. Here is what I have in server.xml I have two pages one is located: D:\GuidanceExchange\exchange\index.jsp and have a link test test.jsp is another page located at D:\GuidanceExchange\exchange\jsp\test.jsp The problem is when I execute index.jsp page the link is pointing to http:///exchange/jsp/test.jsp which is incorrect...it should point to http://127.0.0.1:8080/exchange/jsp/test.jsp . So, how do I get 127.0.0.1:8080 into my URL? Thank you very much for any help in advance, Maksim.