Hi Kavitha,

Try URL encoding the label before using it as a link. Notice that a space
character, for instance, should be
escaped, that is "Visit 1" should be "Visit%201".

Kirk
___________________

paper2net.com - http://www.paper2net.com

----- Original Message -----
From: kavitha ramasamy <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 02, 1999 9:56 AM
Subject: problem in link


> Hi,
>   My problem is
>
>   In this   label value is
>   Visit 1
> out.print("<body><a href=http://127.0.0.1:7001/triallist?trialid=");
>                            out.print(trialid);
>                            out.print("&eventid=");
>                            out.print(label);
>                            out.println(">"+ label+ "</a><br>");
>
> But I am getting
> http://127.0.0.1:7001/triallist?trialid=1000&eventid=Visit
>
> It is rejecting the value after space(Visit instead of Visit 1)
> How to  overcome this?
> bye
> kavitha

___________________________________________________________________________
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