解決方案,添加javascript
var params = jQuery("#carApply form").serialize(); params = decodeURIComponent(params, true);
例如jsjava
$("#car_btn").click(function() { var params = jQuery("#carApply form").serialize(); params = decodeURIComponent(params, true); //alert(params); $.ajax({ url : "${APP_PATH}/car", type : "POST", data : params, success : function(result) { alert(result.msg); //關閉模態框 $("#carApply").modal('hide'); }, error : function() { alert("失敗!"); } }); });