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?
mibuyt If a function/class deprecated in java, what should i do?
Use it with caution. This class/function should work, but they encourage other ways of doing it. Other more reliable/flexible/whatever_better ways
I haven't done any servlet programming bigger, than small examples, but in your case it seems like HttpUtils don't bother about encoded strings (meaning other languages probably). Hence, they cannot be used for e.g., Chinise.
Hence, you can use it freely in your program, just pay special care of what the class/method actually does. Othervise, realworld will strike you hard making realize what "deprecated" means if one of your markets is China just at the moment when you'll try to work with real data