会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
管气琴的悲怆
博客园
首页
新随笔
联系
订阅
管理
2017年7月6日
Servlet路径问题
摘要: 请求重定向的绝对路径是基于localhost:8080的 服务器内部跳转都是基于localhost:8080/projectName 相对路径都是基于当前文件的
阅读全文
posted @ 2017-07-06 18:42 xnui7
阅读(104)
评论(0)
推荐(0)
2017年1月9日
servlet登录
摘要: 1 package com.lxr.servlet; 2 3 import java.io.IOException; 4 import java.io.PrintWriter; 5 import java.sql.PreparedStatement; 6 import java.sql.ResultSet; 7 import java.sql.SQLException; 8 ...
阅读全文
posted @ 2017-01-09 13:36 xnui7
阅读(167)
评论(0)
推荐(0)
2016年12月25日
spring xml 空模板-applicationContext.xml
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/
阅读全文
posted @ 2016-12-25 20:21 xnui7
阅读(227)
评论(0)
推荐(0)
springmvc xml 空模板
摘要: <?xml version="1.0" encoding="UTF-8"?><!-- Bean头部 --><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLS
阅读全文
posted @ 2016-12-25 20:20 xnui7
阅读(82)
评论(0)
推荐(0)
springmvc配置文件 spring-servlet
摘要: <?xml version="1.0" encoding="UTF-8"?><!-- Bean头部 --><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLS
阅读全文
posted @ 2016-12-25 20:19 xnui7
阅读(469)
评论(0)
推荐(0)
2016年12月22日
测试套件
摘要: 1.测试套件就是组织测试类一起运行的 2.写一个作为测试套件的入口类,这个类里千万绝对不能包含其他的方法。 3.更改测试运行器Suite.class. 4.将要测试的类作为数组传入到Suite.SuiteClasses({}) Example: @RunWith(Suite.class) @Suit
阅读全文
posted @ 2016-12-22 16:39 xnui7
阅读(148)
评论(0)
推荐(0)
inverse 相关设置
摘要: inverse在set裏設置為true 就可以不讓多對多關係打出多余的更新(update)的語句 以提高与数据库交互的性能
阅读全文
posted @ 2016-12-22 16:36 xnui7
阅读(91)
评论(0)
推荐(0)
junit 测试注解
摘要: * @Test: 将一个 普通的方法修饰成为一个测试方法* @BeforeClass: 他会在所有的方法运行前被执行,static修饰* @AfterClass 他会在所有方法运行结束后被执行,static修饰* @Before:会在每一个测试方法被运行前执行一次* @After 会在每个测试方法被
阅读全文
posted @ 2016-12-22 16:33 xnui7
阅读(150)
评论(0)
推荐(0)
公告