Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jspsmart upload file

843836Aug 1 2003 — edited Aug 1 2003
I have a input form which is to used to upload the file (ENCTYPE="multipart/form-data"), it is because it will accept any type of language, therefore the charset of page is utf-8.

In the back end side program (also utf-8), i use "jspsmart" to upload the file, but i use jspsmart.getRequest.getParameter("") to get the text field content, i have got a string such as "???". But if the input form does not use ENCTYPE="multipart/form-data", i can get the normal string (new String(nameChi.getBytes("ISO_8859_1"), "UTF-8")).

How can solve this problem?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 29 2003
Added on Aug 1 2003
2 comments
644 views