- 博客(14)
- 资源 (2)
- 收藏
- 关注
原创 上传图片 图片转换成base64格式 入录到数据库
前台<div id="personPhoto" name="personPhoto" class="col-sm-1" style="height: 150px;width: 120px;" align="center" onclick="photoUpload();" > <img
2018-08-30 11:11:53
3787
原创 easyui-combobox下拉多选
$("#postname").combobox({ valueField: 'uuid', textField: 'text', url:'${pageContext.request.contextPath}/system/systemUserLi...
2018-08-29 09:16:15
375
原创 excel文件类型的判断(action层 (struts2))
private String fileContentType;//上传的文件类型 publicvoid doImport(){ //文件类型判断 if(!"application/vnd.ms-excel".equals(fileContentType)){ ...
2018-07-12 23:19:36
267
原创 手动往maven本地库添加jar
在cmd中:mvn install:install-file -Dfile=C:\Users\Administrator\.m2\repository\javax\mail\mail\mail.jar -DgroupId=cn.ffcs -DartifactId=mail -Dversion=1.0.0 -Dpackaging=jar -Dfile =所需要添加的jar包-DgroupId= ...
2018-07-09 01:41:34
723
原创 关于alibaba的fastjson使用
实体类的值,转换成json格式。但想忽略某个属性不转换。(比如密码)使用@JSONField(serialize=false)给属性标注。因为不想让角色下的菜单表中的数据出现 so使用@JSONField(serialize=false)给属性标注 SerializerFeature.DisableCircularReferenceDetect(待)...
2018-06-20 00:36:33
378
原创 子窗占父窗
window.onload=function(){ if(window.parent != window){// 如果是在框架中 //就让框架页面跳转到登陆页面 window.parent.location.href = "${pageContext.request.contextPath}/login.jsp"; } };...
2018-04-22 02:06:47
248
原创 写原生ajax(XMLHttpRequest)
var xhr = new XMLHttpRequest(); xhr.open("post", "/Handler1.ashx", true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.onreadystatechange = function () { ...
2018-03-11 21:43:43
422
原创 C#session cookies
HttpCookie cookie = context.Request.Cookies["Login"]; if(cookie==null){ cookie = new HttpCookie("Login"); } Guid guid = Guid.NewGuid(); ...
2018-03-11 21:43:29
375
html引入js 就能在线预览ODF文件
2024-07-19
瀚高数据库开发管理工具,windows版瀚高数据库管理工具,hgdbdeveloper-6.0.7
2024-07-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人