自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 spring-boot 开始demo项目启动报错Unregistering JMX-exposed beans on shutdown

总结网上说2种方案:方案1:添加以下依赖:<!-- 打war包时加入此项, 告诉spring-boot tomcat相关jar包用外部的,不要打进去 --><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-sta...

2018-03-18 12:18:46 607

原创 js url参数加密 后台java解密

1.前台javascript 1.在提交的js中这样写    document.form1.username.value=encode64(document.form1.username.value);  document.form1.password.value=encode64(document.form1.password.value);     document.f

2014-06-19 11:00:37 1096

原创 js禁用当前页面鼠标右键

if (window.Event)document.captureEvents(Event.MOUSEUP);function nocontextmenu() {event.cancelBubble = trueevent.returnValue = false;return false;}function norightclick(e) {if (window.E

2014-06-19 10:16:53 340

原创 HQL中不支持 UNION 的解决方法

[b] SQLQuery query = session.createSQLQuery(sql); //sql就是数据库直接可以执行的sql语句;当然记得导入SQLQuery 包 query.addEntity(Content.class); //Content就是你需要的对象类名 List list = query.list();这样返回的对象list列表就是和HQL返回的列表效...

2014-02-25 09:11:16 3925

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除