Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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!

![]() |
![]() |
![]() |

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