Stephen-

Make sure you put the correct import statement at the top of your jsp 
page... Otherwise URLEncoder won't work.
Like so:
         <%@ page import="java.net.*;" %>

         <% String fooBar = "My Message";
                 fooBar = URLEncoder.encode(fooBar);%>

Hope this helps.. Peace-

mike

At 03:16 PM 5/14/2001 +1000, you wrote:

> > I am using
> > "response.sendRedirect(response.encodeRedirectURL(url))" in JSP.
> > It doesn't work. Any idea?
>
>Are you sure it doesn't work?  What do you think it is supposed to do?
>Perhaps you should look at the URLEncoder class.
>
>--
>Stephen Oakes

Reply via email to