Solved

unknown space charcter in a text box

Posted on 2006-06-28
2
240 Views
Last Modified: 2010-04-01
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
Comment
Question by:prain
2 Comments
 
LVL 3

Accepted Solution

by:
runa_paathak earned 50 total points
ID: 17007168
make value="" for the input text box.
0
 

Author Comment

by:prain
ID: 17010009
Thanks. It works.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
xjc and jaxb 2 93
some methods private some are not 8 212
getting param value 7 53
runtime exception 2 28
Read about the ways of improving workplace communication.
An article on effective troubleshooting
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question