| Author |
problem while getting Input Stream, which contains ? mark in it.
|
Bennet Xavier
Ranch Hand
Joined: Jun 19, 2008
Posts: 162
|
|
Hi All,
I have a servlet which will read the content from the input stream, and the stream contains a url with parameter in it and the url(in stream) contain ?(question) marks.
its not getting the content properly, it receives all the data after the ?mark.
please help me,
Thanks In Advance,
Bennet
|
 |
dileep keely
Ranch Hand
Joined: Jun 28, 2010
Posts: 91
|
|
|
Can you show/provide the URL in question and the sample code what you have tried to fetch ?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
|
The data in your URL must be properly URL-encoded. See java.net.URLEncoder.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Bennet Xavier
Ranch Hand
Joined: Jun 19, 2008
Posts: 162
|
|
Thank you very much.
Sorry for the later reply.
|
 |
 |
|
|
subject: problem while getting Input Stream, which contains ? mark in it.
|
|
|