Skip site navigation (1) Skip section navigation (2)

Re:

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 (view raw or flat)
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


In response to

  • at 2001-02-07 07:59:11 from vanam vishnuvardhan

pgsql-interfaces by date

Next:From: Peter MountDate: 2001-02-07 21:41:43
Subject: Re: PostgreSQL and PHP persistent connections
Previous:From: Constantin TeodorescuDate: 2001-02-07 20:53:25
Subject: Re: [INTERFACES] pgAccess fails to launch on HPUX

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group