Depreciation error message.

Hi,

Im getting a waring message for using encodeURL()  from javax.servlet.http.HttpServletResponse at the moment, im what method/class should be using instead,the warning message reads as follows  :


 method encodeUrl(java.lang.String) in interface javax.servlet.http.HttpServletResponse has been deprecated at line 68


http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/http/HttpServletResponse.html
Warning #: 369 : There have been deprecation warnings. Please consult the documentation for a better alternative

Any suggestions,
Triggered
TriggeredAsked:
Who is Participating?
 
objectsCommented:
Thats encodeURL instead of encodeUrl
0
 
objectsCommented:
java.lang.String encodeURL(java.lang.String url)
 
0
 
TriggeredAuthor Commented:
Cheers Objects ....much appreciated :-)
0
 
objectsCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.