Is anyone familiar with the method getRequestURL() of the HttpServeltRequest
interface? I am trying to use it, but the compiler object to the method. By
the way, this method is previously of javax.servlet.http.HttpUtils, which
has been deprecated. Thanks in advance,
Tia
Is anyone familiar with the method getRequestURL() of the HttpServeltRequest
interface? I am trying to use it, but the compiler object to the method. By
the way, this method is previously of javax.servlet.http.HttpUtils, which
has been deprecated. Thanks in advance,
Tia
PROTECTED]]
Sent: Wednesday, July 11, 2001 11:21 AM
To: Tomcat Mailing List
Subject: Help with using getRequestURL()
Is anyone familiar with the method getRequestURL() of the
HttpServeltRequest
interface? I am trying to use it, but the compiler object to
the method. By
the way, this method
]]
Sent: Wednesday, July 11, 2001 4:22 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Help with using getRequestURL()
Assuming you mean the getRequestURI() (not URL) method of
HttpServletRequest (not Servelt),...
What exactly is the compiler complaining about? What's the error it's
producing
To: '[EMAIL PROTECTED]'
Subject: RE: Help with using getRequestURL()
try:
java.lang.StringBuffer reqUtilURL = HttpUtils.getRequestURL(request);
String callingURL = reqUtilURL.toString();
-Original Message-
From: Tia Haenni [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 4:04 PM
precede it w/javax.servlet.http.
-Original Message-
From: Tia Haenni [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 5:38 PM
To: [EMAIL PROTECTED]
Subject: RE: Help with using getRequestURL()
I get this:
test5.java:67: cannot resolve symbol
symbol : variable HttpUtils
That worked, thanks!
-Original Message-
From: Li, William [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 7:39 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Help with using getRequestURL()
precede it w/javax.servlet.http.
-Original Message-
From: Tia Haenni [mailto:[EMAIL