ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google

Mail Archive Home | enhydra List | August 2005 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [enhydra] Problem with UTF-8 and POST method in EE 6.3


answers inline.

Best regards.
João Paulo Ribeiro

Lofi Dewanto wrote:
Hi João,

thanks a lot for your hints!

In my case the problem was that the bytes was transformed in to String without explicit encoding.

Yes, I think this is my problem too, since it works with GET and
only in POST I have to transform the bytes to String by myself...

My questions now:

1) So I don't need to add "charset=utf-8" in my form method?
Should it stay like this?
<form method="post" action="" name="FileUpload" id="FormMethod" enctype="multipart/form-data">
JPR -  by default if send the html page to the client in utf-8, any GET or POST from this page will be in utf-8.
It will not hurt if you leave it there.
2) Where do you get this constant?
I cannot find it...

JPR - javax.servlet.http.HttpUtils
Another question: Is there any Enhydra utility class to handle
POST method easily and taking care of such things like above?
IMO, everyone use POST method in HTML forms, so would be great
if we don't have to write such a method by ourself... :-)

JPR - I agree.
Thanks a lot and cheers,

-- You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

João Paulo Ribeiro | Senior Software Engineer

PHONE: + 351 253 305 250 
FAX  : + 351 253 305 250

About Solutions | Wireless World

CONFIDENTIALITY NOTICE: This message, as well as existing attached files, is confidential and intended exclusively for the individual(s) named as addressees. If you are not the intended recipient, you are kindly requested not to make any use whatsoever of its contents and to proceed to the destruction of the message, thereby notifying the sender. 
DISCLAIMER: The sender of this message can not ensure the security of its electronic transmission and consequently does not accept liability for any fact which may interfere with the integrity of its content.

<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.