1、js
$.ajaxFileUpload
(
{
url:'<%=basePath%>uploadDatFile/fileUploadAction.action?time='+myDate+'&ctmlId='+encodeURI($("#ctmlId").val(), "UTF-8"),
2、java
String msg=URLEncoder.encode(user.getEnterpriseName(), "UTF-8");