Hello everybody

I tried to encode an url but the whole thing does not
compile. The code fragment that causes the problem is:

String url = obj.toString();
String encodedUrl = encodeRedirectURL(url);

I then got this error:

method encodeRidectURL(java.lang.String) not found in
class .... I have import java.lang.*; as one of my
import statement. I got the same error when I used
encodeURL(java.lang.String url). What I am trying to
get fixed is that I have names coming from database
and I want them to be link url on the page. For
example, I have a name like roy woods and i use the <a
href='roy woods'>roy</a> then when you place the mouse
over the url, you will not see woods at all. I mean
the second word disappears. That is why I am trying to
use url encoding to fix that. Any ideas?

roy

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/

___________________________________________________________________________
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

Reply via email to