自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

TragedyXD的专栏

HighHigher,Cautious,Perseverance!

  • 博客(7)
  • 资源 (14)
  • 收藏
  • 关注

原创 Spring源码:Spring 容器资源加载模板模式应用

模板位于:abstract class AbstractXmlApplicationContext : protected void loadBeanDefinitions(XmlBeanDefinitionReader reader) throws BeansException, IOException { Resource[] configResources = getConfig

2015-07-31 13:21:18 835

原创 MyBatis与Spring 整合后,创建Bean报奇葩错的解决

代理了MaBatis Generator自动生成的Mapper的类package com.aliapp.wxxd.material.service;import interfaces.EntityWrapperInterface;import java.util.List;import org.springframework.beans.factory.annotation.Aut

2015-07-30 13:56:56 24416

原创 MySQL 查询某个列中相同值的数量统计

数据现在是这样的,我想确定出type列中的news和image。。。。甚至以后有其他值,他们分别有多少个。SELECT type, count(1) AS countsFROM materialGROUP BY typecount(1),代表统计第一列,写上1 比写 *的效率高!

2015-07-22 09:06:37 35386 3

原创 Java泛型,结合JSONObject动态生成指定的对象

private T getTargetClass(String resultString, T t) { System.out.println(resultString); JSONObject result = JSONObject.fromObject(resultString); return (T) JSONObject.toBean(result, t.getClass()

2015-07-15 16:48:02 12434 1

原创 Springmvc JSON交互

先上前端javascript,ajax代码 function testAjaxS(){ $.ajax({ type:'post', url:'material/testAjax', data:'MediaId=手', success:function(data){//返回json结果 alert("success"); }

2015-07-15 15:33:34 3509

原创 JAVA WEB 获取properties文件,存放路径 及 获取路径

首先明白,ClassPath : 指的是:WEB-INF\classes这个目录下,通常把文件放在src文件夹下,或者新建文件并且添加到build path即可。IDE在同步文件到tomcat时会自动将文件放在classes下。  获取properties的代码: public Properties loadProperties() { Properties properties = ne

2015-07-10 15:00:39 8926

原创 XStream 数组(List)输出结构

微信SDK初步结构 恩..这是微信工程的结构,嘻嘻~ http://b.hiphotos.baidu.com/image/pic/item/d1a20cf431adcbeff71cbb18aeaf2edda3cc9f80.jpg 原以为应该:根对象中有个Articles类中,Articles类中包含一个变量名为 item的数组(list)对象才

2015-07-09 17:13:46 3901

SourceHanSerifSC-SemiBold压缩过的思源宋体semiBold

SourceHanSerifSC-SemiBold压缩过的思源宋体semiBold

2021-12-09

arch summit 深圳2019 PPT全集

arch summit 深圳2019 PPT全集

2019-12-28

刘道平-从0到1,移动政务应用小程序系统架构演化.pdf

刘道平-从0到1,移动政务应用小程序系统架构演化.pdf

2019-12-28

基于注解、SpringBoot的Dubbo提供者消费者DEMO

基于注解、SpringBoot的Dubbo提供者消费者DEMO,下载下来直接可以跑。

2018-01-09

Redis设计与实现 完整版 带书签

Redis设计与实现 完整版 带书签 Redis设计与实现 完整版 带书签

2016-02-23

SpringMVC+Mybatis+Spring+Shiro+ehcache整合配置文件

SpringMVC+Mybatis+Spring+Shiro+ehcache整合配置文件

2015-08-20

Hadoop in Practice.pdf

Hadoop in Practice.pdf

2015-02-27

配置Web站点IIS,PHP

配置Web站点IIS,PHP

2012-11-09

msf内网渗透

msf内网渗透

2012-10-29

ACM:金明的预算方案

ACM:金明的预算方案

2012-10-24

空空如也

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

TA关注的人

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