Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

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
0
Triggered
Asked:
Triggered
  • 3
1 Solution
 
objectsCommented:
java.lang.String encodeURL(java.lang.String url)
 
0
 
objectsCommented:
Thats encodeURL instead of encodeUrl
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.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now