Solved

unknown space charcter in a text box

Posted on 2006-06-28
2
241 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fisheye tool 2 116
servlet cookie finding by name 1 84
grep code 4 199
Use tracing facilities in your browser steps 2 122
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

856 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