tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antony paul" <antonypau...@hotmail.com>
Subject Including port no in req.getServerName() output.
Date Tue, 12 Aug 2003 10:06:31 GMT
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 there any other way to change the JSP
and servlets to include the port no.

regards
Antony Paul.

Mime
View raw message