>From the source examples
jakarta-struts-1.1-src\jakarta-struts-1.1-src\src\upload\org\apache\struts\w
ebapp\upload

What does the use of
 response.setContentType("text/html; charset=utf-8");


-------------------------------------------
/this line is here for when the input page is upload-utf8.jsp,
            //it sets the correct character encoding for the response
            String encoding = request.getCharacterEncoding();
            if ((encoding != null) && (encoding.equalsIgnoreCase("utf-8")))
            {
                response.setContentType("text/html; charset=utf-8");
            }


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to