I am wondering, and i know it is off topic...
I am doing some servlet things... with this code
String requestUrl = HttpUtils.getRequestURL(request).toString();
and it told me that i had depracations (HttpUtils) when i compile...
So i check into servlet 2.4 (i use tomcat 5)
and in the specifications
public class HttpUtils
Deprecated. As of Java(tm) Servlet API 2.3. These methods were only useful
with the default encoding and have been moved to the request interfaces.
Constructs an empty HttpUtils object.
So what should i do? Should i ignore it?
Actually i don't understand what it means and what should i do?
There is no other possible ways to call
Any help, please?
Chua Wen Ching