Computing.Net > Forums > Web Development > JSP MultipartRequest

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

JSP MultipartRequest

Reply to Message Icon

Name: wweeee (by wcube)
Date: August 15, 2007 at 19:01:10 Pacific
OS: Windows
CPU/Ram: N/A
Product: N/A
Comment:

Hi all,
I am having a problem with JSP MultipartRequest in sending form data. My JSP form contains some text input field eg. Product Code, Product Name, and also image file upload function.

There are cases where form field product name could contain special characters, such as Copyright Symbol (c) or Trademark(TM). In cases like this, the first form field element value will not be sent, though that field is actually having a value. This result in a null value when retrieving.

However when tested using plain text without any special character, all the form values will be sent. When retrieved using multi.getParameter("productCode") it will return the value.

Could anyone advise on how shall I solve this problem? I wonder does the special characters affect the POST in multipart/form-data.

Thanks in advance for your help!




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: JSP MultipartRequest

including .js file into jsp page www.computing.net/answers/webdevel/including-js-file-into-jsp-page-/2794.html

.jsp webpage is not loading. www.computing.net/answers/webdevel/jsp-webpage-is-not-loading/907.html

URL rewrite in JSP www.computing.net/answers/webdevel/url-rewrite-in-jsp/2201.html