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