Stefan wrote:
Hi,
IN your book 'JavaServerPages' on page 580 where you are listing response objects methods, you list 3 deprecated methods:
public string encodeRedirectURL(String url) , You go on to say in Servlet 2.1 use 'encodeRedirectURL(String url)'
How is that different?
First, please send questions about my book that are not of obvious
interest to other readers on this list to me or O'Reilly (there are
references to web sites and email addresses in the Preface, but
[EMAIL PROTECTED] always works).
To answer your question, the deprecated method is encodeRedirectUrl()
(note the mixed case in "Url"), replaced with encodeRedirectURL() (note
"URL" in all caps). This change was done for consistency with other
methods that contains "URL" in their names.
Hans
--
Hans Bergsten <[EMAIL PROTECTED]>
Gefion Software <http://www.gefionsoftware.com/>
Author of O'Reilly's "JavaServer Pages", covering JSP 1.2 and JSTL 1.0
Details at <http://TheJSPBook.com/>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>