Solved

Depreciation error message.

Posted on 2004-03-27
4
267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Determining the an SCCM package name from the Package ID
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 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