Hello,
Is it possible to include the port no in the output of a call to
request.getServerName(). I have written all JSP and Servlets which dont use
the port no. The call is like this
http://%=request.getServerName()%/shop/category.jsp. Now there is a need
to change the port no of Tomcat. Is
]
To: Tomcat Users List [EMAIL PROTECTED]; Tomcat Users
List [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 4:04 PM
Subject: Re: Including port no in req.getServerName() output.
Hi,
how about ultraedit search and replace,
http:// req.getServerName() by nothing
just an idea...
greetz
Hans
: Including port no in req.getServerName() output.
Hi,
how about ultraedit search and replace,
http:// req.getServerName() by nothing
just an idea...
greetz
Hans
At 03:59 PM 8/12/2003 +0530, Antony paul wrote:
80% of the pages are completed(about 150 pages) so changing these pages
if you use SSL, because the http: will need
to change to https:
Hope this helps,
Andy
-Original Message-
From: Antony paul [mailto:[EMAIL PROTECTED]
Sent: 12 August 2003 11:07
To: tomcat mail list
Subject: Including port no in req.getServerName() output.
Hello
you may run into problems if you use SSL, because the http: will need
to change to https:
Hope this helps,
Andy
-Original Message-
From: Antony paul [mailto:[EMAIL PROTECTED]
Sent: 12 August 2003 11:07
To: tomcat mail list
Subject: Including port no in req.getServerName() output
-
From: Bodycombe, Andrew [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 3:41 PM
Subject: RE: Including port no in req.getServerName() output.
It may be better to use relative URLs (like '/shop/category.jsp') instead
of
the complete URL.
This removes