自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 thymeleaf 添加页面隐藏值

<input type="hidden" th:value="${dictionaryType.id}" name="typeId"/>切记切记这样写是不对的:<input type="hidden" th:value="${dictionaryType.id}" th:field="*{typeId}"/>...

2019-05-10 11:41:54 7740 1

原创 windows下使用nginx,jboss部署web项目

一、到Nginx官网下载最新稳定版本,安装部署(Nginx下载地址:http://nginx.org/en/download.html)。 二、修改Nginx配置文件nginx-1.16.0\conf下的nginx.conf文件。#user nobody;worker_processes 1;#error_log logs/error.log;#error_log ...

2019-04-26 10:14:32 985

原创 idea不能正确的使用el表达式

使用el表达式需要引入jstl和standard包&lt;dependency&gt; &lt;groupId&gt;javax.servlet&lt;/groupId&gt; &lt;artifactId&gt;jstl&lt;/artifactId&gt; &lt;version&gt;1.2&lt;/version&gt;&lt;/dependency&g

2018-11-14 20:31:08 1641

原创 idea代理方法不能成功映射

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)idea与eclipse不同,***Mapper.xml需要放在resources目录下才可以解析,但是如果像下图这种布局,需要在pom文件下添加&lt;build&gt; &lt;resources&gt; ...

2018-11-01 20:47:47 914

原创 eclipse连接redis

通过使用jedis.jarpublic static void main(String[] args) {        Jedis jedis = new Jedis("linux系统的ip地址", redis 的端口号);        System.out.println(jedis.ping());    }如果出现异常Exception in thread "main" r...

2018-10-10 07:43:18 1172 1

原创 linux中查不到ip地址

1.在linux系统中输入命令:vi  /etc/sysconfig/network-scripts/ifcfg-eth02.显示结果3.点击I或者是A进入可编辑状态(需要在管理员权限下)a.将其中的ONBOOT=no改为yes,b.点击Esc,c.输入 :wq,d.敲击enter保存并退出.e.输入命令: service network restart(重...

2018-09-03 20:34:44 4683 1

原创 maven使用Junit测试

1.maven整个ssh项目使用Junit测试,需要pom.xml中添加Junit依赖和spring-test依赖2.maven拆分ssh工程时候,如果父工程的pom.xml中没有Junit包和spring-test包,需要在子工程中导入3.在单元测试类中通过注解方式或者new 类的方式加载配置文件注:@ContextConfiguration("classpath*:spring/applica...

2018-07-05 07:18:45 1874

空空如也

空空如也

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

TA关注的人

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