Solved

unknown space charcter in a text box

Posted on 2006-06-28
2
243 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

728 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