It is just a capitalization problem on the encodeRedirecURL method:

try this:

response.sendRedirect( response.encodeRedirectURL( "...

notice that the Url is now URL.

-----Original Message-----
From: Eduardo Salvador Godoy Vega [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 07, 2000 10:19 AM
To: [EMAIL PROTECTED]
Subject: deprecated


Hi,
        when I compile my JSP proyect, it send to me some some messages
about
"deprecated" for this line:

   response.sendRedirect(response.encodeRedirectUrl("login.jsp"));

Which is the "actual" way to do the same ?


Eduardo.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to