pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feed(no subject)
2+ messages / 2 participants
[nested] [flat]
* (no subject)
@ 2001-02-07 07:59 vanam vishnuvardhan <vanam_us@yahoo.com>
0 siblings, 1 reply; 2+ messages in thread
From: vanam vishnuvardhan @ 2001-02-07 07:59 UTC (permalink / raw)
To: pgsql-interfaces
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
i,e.if the string in the text field is seperated by
white spaces iam getting problem
It would be great if u can provide any solution to
this problem
with regards
vanam vishnuvardhan
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re:
@ 2001-02-07 21:37 Peter Mount <peter@retep.org.uk>
parent: vanam vishnuvardhan <vanam_us@yahoo.com>
0 siblings, 0 replies; 2+ messages in thread
From: Peter Mount @ 2001-02-07 21:37 UTC (permalink / raw)
To: vanam vishnuvardhan <vanam_us@yahoo.com>; 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-02-07 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-02-07 07:59 vanam vishnuvardhan <vanam_us@yahoo.com>
2001-02-07 21:37 ` Re: Peter Mount <peter@retep.org.uk>
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