- 博客(7)
- 收藏
- 关注
转载 server 端 android上传头像 接口代码
@ResponseBody @RequestMapping("/方法名") public AjaxMsg addUserHeadImg(HttpServletRequest request, @RequestParam("文件参数") String image,@RequestParam("其他参数") String userId){ ...
2018-05-02 14:48:00 85
转载 easyui 中的 tree
$(function() { resourceTree = $('#resourceTree').tree({//json格式 url : '', parentField : 'pid', //lines : true, checkbox : true, onCli...
2018-04-11 11:32:00 88
转载 隐藏Easy UI 中parent.$.modalDialog 的button
例子: buttons : [ { text : '关闭', handler : function() { parent.$.modalDialog.handler.dialog('close'); } },{ text : '保存', handler : function()...
2018-04-09 08:19:00 319
转载 使用freemaker 导出word 含多张图片,若无图片则显示文本信息
1、使用的Microsoft Office 2007,添加一个无边框的表格,并插入一张图片,最后另存为编码utf-8,一开始保存的word xml格式的,图片的base64编码位于文档最后,暂时没有找到解决方法,所以就保存。 2、用编辑工具打开,找到base64编码替换为ftl标签,红色所示,图片设置长宽(蓝色所示) <w:p wsp:rsidR="00A50283" wsp:...
2017-08-02 17:44:00 184
转载 java 实现多文件打包下载
jsp页面js代码: function downloadAttached(){ var id = []; id.push(infoid); var options = {}; options.action = "${pageContext.request.contextPath}/DocumentController/downloadattached"; ...
2016-04-10 18:39:00 74
转载 获取选中的radio的value值
html:<div id="bb"> <input name="cc" type="radio" value="4" >hh</input> <input name="cc" type="radio" value="5" >hha</input> <input name="cc" type="radio" va...
2015-09-25 14:55:00 116
转载 系统服务器上的系统不乱码而本地服务的项目乱码
在jsp页面请求中的变量为中文,本地就发生了乱码,而服务器上的系统就没有问题。 解决方法:在server.xml中添加<Connector connectionTimeout="20000" port="8090" protocol="HTTP/1.1" redirectPort="8443" URIEncoding="utf-8" />,因为tomcat默认请求编码是...
2015-08-24 10:48:00 284
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人