Solved

Depreciation error message.

Posted on 2004-03-27
4
266 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

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

Title # Comments Views Activity
maven project in eclipse 11 60
spring AOP 6 91
org.apache.jasper.JasperException: using jstl in jsp embedded jetty 13 699
dynamic reloading of jsp in jetty 2 121
Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 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