• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

unknown space charcter in a text box

Hello,

I have a servlet that produces a form. Form displays nicely. In the form I have a text inout box and a push button (and many more). When button is pushed it goes to doPost(), and then after certain manipulations, doPost calls doGet(), where the form for the next cycle is prepared. I do not see anywhere in the code (in doGet()) a blank chatacter is added into the input text box nor in  doGet(). But when the form is displayed (even after I do not enter anything in the first cycle into the input box) in the second or later cycle(s) a blank character is displayed in the text input box. This is very visible as I can see the cursor on the box blinks one character position to the right. So it is obvious that there is a blank character.

I know this is not an easy thing for some one to say why it is hapenning. But I am just curious if someone in these forums had the same experience, and
if there was a solution, what was it.

Thanks for your time

prain
0
prain
Asked:
prain
1 Solution
 
runa_paathakCommented:
make value="" for the input text box.
0
 
prainAuthor Commented:
Thanks. It works.
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Tackle projects and never again get stuck behind a technical roadblock.
Join Now