Solved

Depreciation error message.

Posted on 2004-03-27
4
262 Views
Last Modified: 2012-06-27
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
Comment
Question by:Triggered
  • 3
4 Comments
 
LVL 92

Expert Comment

by:objects
ID: 10696469
java.lang.String encodeURL(java.lang.String url)
 
0
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 10696479
Thats encodeURL instead of encodeUrl
0
 

Author Comment

by:Triggered
ID: 10696567
Cheers Objects ....much appreciated :-)
0
 
LVL 92

Expert Comment

by:objects
ID: 10696620
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Facing problems with you memory card? Cannot access your memory card? All stored data, images, videos are lost? If these are your questions...than this small article might help you out in retrieving your lost or inaccessible data.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now