Custom error message encoding issue
Posted: Thu Dec 15, 2011 7:02 pm
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?
............
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?