文件上传页面乱码问题

我在做一个文件上传:
在之前提交的方式是:
function submitDate(url) {
show();
url += (url.indexOf("?") > 0 ? "&" : "?") + $("#photoForm").formSerialize();
$.post(url, null, callback, "text");
}
$.fn.formSerialize = function(semantic) {
//hand off to jQuery.param for proper encoding
return $.param(this.formToArray(semantic));
};这个时候是没有问题的

但是因为要做文件上传,所以就改成了用提交按钮直接提交到后台,但是这个时候就出现了乱码问题,下面是代码部分:
<%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://java.sun.com/jstl/core_rt" %>

请高大家帮忙,无比感谢!!

中文乱码解决方案
[url]http://www.iteye.com/post/2322208[/url]

1、用的吗?
2、是否有字符集的过虑器?