From: | Peter Mount <peter(at)retep(dot)org(dot)uk> |
---|---|
To: | vanam vishnuvardhan <vanam_us(at)yahoo(dot)com>, pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: |
Date: | 2001-02-07 21:37:32 |
Message-ID: | 5.0.2.1.0.20010207213612.009ec5d0@mail.retep.org.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
At 23:59 06/02/01 -0800, vanam vishnuvardhan wrote:
>HI
> iam vishnu .I have some problem while
>communicating between an applet and servlet.
> iam providing some text field and enter some
>information in applet and using get method iam sending
>this informatin to the servlet.The problem occurs when
>the string entered in the text field contains gaps or
>seperated by white spaces ,the servlet cannot able to
>get the exact string in the textfield,sometimes applet
>fails to connect even to servlet.
> for eg.
> In textfield if i entered "Iam great"
> The URL iam providing is
>..../servlet/test?info="+tf.getText();
> where tf is the name of the textfield
You must encode the url. Look at java.net.URLEncode [the encode() method].
This is nothing to do with Postgres or JDBC.
Peter
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Mount | 2001-02-07 21:41:43 | Re: PostgreSQL and PHP persistent connections |
Previous Message | Constantin Teodorescu | 2001-02-07 20:53:25 | Re: [INTERFACES] pgAccess fails to launch on HPUX |