but this problem only happen when we enter a Japanese characters into
the textfield.

Dror Matalon wrote:
Hi,

I'm not sure this 100% related but we ran into something similar.
Different browsers do different things when you hit ENTER. Checking
the HTML spec, it looks like there's no definition of what should
happen. Most browsers handle the ENTER as if you've clicked on
the first button, but some do not. This behaviour, for some reason,
is mostly a problem when you have a single field in your form.

Our workaround was to assume that the first buttom on the form was
clicked when we got no submit action from the servlet.

Hope this helps,

Dror


On Sat, Nov 16, 2002 at 10:48:13AM +0800, randie ursal wrote:

hi list,

 i have a strange problem.

 i have a simple form that has a textfield and a submit button.

 when i enter a value which is in English into the textfield and
presses <ENTER> key, everything works fine. but when i use JAPANESE
characters my SERVLET wasn't able to get any value.

 also, when i use the submit button by clicking it, everything works
fine for both ENGLISH and JAPANESE characters.

 does anyone have any idea on what's wrong?


thanks.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com

--
Dror Matalon
Zapatec Inc
1700 MLK Way
Berkeley, CA 94709
http://www.zapatec.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


--

Randie V. Ursal
Design Engineering Department
NEC Telecom Software Philippines, Inc.
office : +63(032) 233-9142 (loc.3119)
mobile : +63(0917) 467-8244
email  : [EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com

Reply via email to