Received: from mail.retep.org.uk ([216.126.85.184]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f17LuLx07239 for ; Wed, 7 Feb 2001 16:56:21 -0500 (EST) (envelope-from peter@retep.org.uk) Received: from heather.retep.org.uk ([193.113.118.141]) (authenticated) by mail.retep.org.uk (8.11.1/8.11.1) with ESMTP id f17LuFR07234; Wed, 7 Feb 2001 16:56:15 -0500 (EST) (envelope-from peter@retep.org.uk) Message-Id: <5.0.2.1.0.20010207213612.009ec5d0@mail.retep.org.uk> X-Sender: peter@mail.retep.org.uk X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Wed, 07 Feb 2001 21:37:32 +0000 To: vanam vishnuvardhan , pgsql-interfaces@postgresql.org From: Peter Mount Subject: Re: In-Reply-To: <20010207075911.6414.qmail@web4505.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200102/52 X-Sequence-Number: 1005 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