Hi Kavitha!
   You have to replace space with + sign. Instead use
URLEncoder class. it has methods to convert parameter
into encoded value.

prasad
[EMAIL PROTECTED]
--- kavitha ramasamy <[EMAIL PROTECTED]>
wrote:
> 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
>
>
______________________________________________________
> Get Your Private, Free Email at
> http://www.hotmail.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
>


=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.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