Solved

unknown space charcter in a text box

Posted on 2006-06-28
2
238 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
Comment Utility
make value="" for the input text box.
0
 

Author Comment

by:prain
Comment Utility
Thanks. It works.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now