自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

原创 eclipse 项目结构对比

Dynamic Web Project:Java Project:Maven Project:Maven Web Project:

2018-06-24 18:46:23 1087

原创 IDEA Maven SpringMVC中使用thyme leaf

<properties> <!--解决 Maven3 中文编译乱码--> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <thymeleaf-version>3.0.2.RELEASE</thymeleaf-versio...

2018-06-13 21:59:40 545

原创 @Configuration 定义配置类

package configurations;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.ComponentScan;import org.springframework.context.annotation.Configuration;i...

2018-06-13 15:29:55 1477

原创 web项目清除缓存

httpServletResponse.setHeader("Cache-Control","no-cache");httpServletResponse.setHeader("Cache-Control","no-store");httpServletResponse.setDateHeader("Expires", 0);httpServletResponse.setHeader("Pr.

2018-06-11 17:11:38 1487

转载 CentOS7无法访问tomcat

在CentOS-7上安装好JDK和Tomcat8之后,启动tomcat,无法通过主机访问,发现是防火墙的原因,关闭防火墙:> systemctl stop firewalld.service1或者在防火墙中开放8080端口的tcp协议,并重启防火墙服务:> firewall-cmd --permanent --add-port=8080/tcp> firewall-cmd --...

2018-06-07 11:23:42 429

原创 静态资源访问

1:web.xml配置<servlet> <servlet-name>default</servlet-name> <servlet-class> org.apache.catalina.servlets.DefaultServlet </servlet-class></servlet&...

2018-06-03 20:47:23 158

转载 Spring配置文件头

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"       xmlns:aop="http://www.sprin

2018-06-01 14:36:04 305

转载 SSM maven依赖

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven...

2018-05-31 14:20:37 231

转载 SpringMVC配置文件

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework

2018-05-31 13:08:41 151

转载 spring配置文件最全约束

<?xml version="1.0" encoding="utf-8"?><beans xmlns="http://www.springframework.org/schema/beans"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:context="http://www.springframework

2018-05-31 13:02:24 948

原创 maven mybatis-generator 插件自动生成代码

在pom.xml中添加plugin<build> <plugins> <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plugin&...

2018-05-31 10:41:56 138

转载 eclipse maven项目中查看依赖jar源码

1、在eclipse上“Window”-->“Preferences”-->"Maven"上,勾选“Download Artifact Sources”、“Download Artifact JavaDoc”。2、在工程的pom.xml-->右键-->Run As-->Maven build...-->Goals:输入“dependency:source...

2018-04-25 19:44:10 815

Java电子书

java 电子书,JavaWeb 开发技术详解-孙卫琴-第二版PDF

2018-03-09

空空如也

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

TA关注的人

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