K Senthil Kumar wrote:
> Hi Gurus My Servlet pgm has the foll code String
> s1=res.encodeRedirectURL("http://localhost:8080/ContactsTableFst.shtml");
>
> res.sendRedirect(s1); And the compiler gives the foll
> err DispClients.java:47: Method encodeRedirectURL(java.lang.String)
> not found in interface javax.servlet.http.HttpServletResponse.
> String
> s1=res.encodeRedirectURL("http://localhost:8080/ContactsTableFst.shtml"); pls
> guide me Thanks in advanceSen
> ^
If you are using a servlet engine based on the 2.0 servlet API, the
appropriate call is
encodeRedirectUrl()
instead. PLEASE check the API documentation on whatever version you are
using!
Craig
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html