Custom error message encoding issue

Upload core product.
Post Reply
cibcibcib
Posts: 6
Joined: Fri Dec 09, 2011 9:38 am

Custom error message encoding issue

Post by cibcibcib »

In my applet_http.js
............
document.writeln('<PARAM NAME="param7" VALUE="errorheader">');
document.writeln('<PARAM NAME="value7" VALUE="custommessage">');
..........

during the file upload, it will call my servlet and error message will be returned if the file cannot pass the validation. As I need to support multiple languages, I have already set the error message in UTF-8. However, it cannot display correctly in the applet....does it relate to the cookie issue?

Any idea to resolve this issue?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Custom error message encoding issue

Post by support »

What about if you add:
<PARAM NAME="encoding" VALUE="UTF-8">

dongtq
Posts: 2
Joined: Wed Feb 01, 2012 3:19 am

Re: Custom error message encoding issue

Post by dongtq »

How can i get custom message in function JSTransferFailed()

Post Reply