pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Mount <peter@retep.org.uk>
To: vanam vishnuvardhan <vanam_us@yahoo.com>
To: pgsql-interfaces@postgresql.org
Subject: Re:
Date: Wed, 07 Feb 2001 21:37:32 +0000
Message-ID: <5.0.2.1.0.20010207213612.009ec5d0@mail.retep.org.uk> (raw)
In-Reply-To: <20010207075911.6414.qmail@web4505.mail.yahoo.com>

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




view thread (2+ messages)

Message-ID: <5.0.2.1.0.20010207213612.009ec5d0@mail.retep.org.uk>
Permalink:  ../5.0.2.1.0.20010207213612.009ec5d0@mail.retep.org.uk/
Also on:    postgresql.org/message-id/5.0.2.1.0.20010207213612.009ec5d0@mail.retep.org.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: peter@retep.org.uk, vanam_us@yahoo.com
  Subject: Re: 
  In-Reply-To: <5.0.2.1.0.20010207213612.009ec5d0@mail.retep.org.uk>
  References: <20010207075911.6414.qmail@web4505.mail.yahoo.com> <5.0.2.1.0.20010207213612.009ec5d0@mail.retep.org.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox