- 博客(14)
- 资源 (1)
- 收藏
- 关注
原创 Jmeter配置元件之 http请求默认值
1 如何添加:测试计划/线程组 右键---配置元件---http请求默认值 (图1、2) 2 作用:http请求默认值-会在发送http请求的时候自带这些参数 复用的一个作用 3 例:公共参数 统一设置,其它请求可不用再次设置(图3、4) 4 TIPS 若在测试计划或线程组结构下添加了http请求默认值 然后在单个请求httpRequest下面继续添加了请求默认值,则以单个请求下的为准 ...
2020-05-09 11:20:06 466 1
原创 如何将form里面的数据导出到excel中
(1)在service中定义格式 表单的内容 public void writeToExcel(List logList, String filePath) throws IOException, Exception, WriteException { File file = new File(filePath); file.createNewFile(); WritableWorkb
2012-07-10 11:23:42 1044
原创 oracle中通过某一列的值update另一列数据
update 表名 tb set tb.isbase =( case GJ when '国基' then 1 else 2 end );
2012-03-13 11:30:53 4564
原创 将excel中的数据手工导入到oracle中
1导入一整张excel (1).如果没有表,先create一张新表,打开excel,全选excel的内容ctrl+c; (2).以编辑(edit data)的模式打开plsql中的指定表,直接ctrl+v就ok了。 2导入部分excel字段 (1).先create new table ,新增需要的字段
2012-03-13 11:25:29 422
原创 点击隐藏显示左边菜单
1.新建一个中间界面menubtn.jsp String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> href="libr
2012-02-21 17:03:17 1691
转载 spring 事务配置
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context" xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.spring
2012-02-01 15:55:10 274
原创 svn 版本号未显示,无法更新提交代码
svn 版本号未显示,无法更新提交 代码的时候,估计是和myeclipse冲突了 ,找到 C:\Program Files\MyEclipse 6.5\eclipse\configuration myeclipse目录下的 configuration 文件,除了 .settings 和config.ini,其他的文件夹都删掉,重启myeclipse,就可以了
2011-12-26 17:33:15 628
原创 流程控制 批处理
declare numss number; begin select count(*) into numss from tcaudit t where t.entid='"+c.getEntId()+"' ; if(numss=0) then insert into tcaudit(entId,isAudit) values('"+c.getEntId()+"',
2011-12-26 17:26:36 418
原创 Oracle中的row_number()用法
--每个班的前3名 根据grade分组,(partitionby) select * from (select username,grade, math + chemistry as total, dense_rank() over(partitio
2011-12-16 17:45:27 576
原创 如何使用dblink
step1:create dblink: step2: select * from yjj.acceptuser@TIANCI147.US.ORACLE.COM tt inner join acceptuserrolerelation ac on tt.userid=ac.userid tablename: Acceptuser databasenic
2011-12-16 17:44:04 445
原创 oracle建序列
通过 sequence 设置id自动增长 public String getUniquePrimary(String seq){ String sql="select "+seq+".nextval as idArray from dual "; List list=query(sql, IdArray.class); return list.get(0).getIdArray
2011-12-16 17:39:59 298
原创 jquery,struts2文件上传
jsp http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> http://jsptags.com/tags/navigation/pager"%> String path = request.getContextPath(); request.setAttribute("rootPath",path); String b
2011-12-16 17:24:28 681
原创 下载文件
HttpServletRequest request = ServletActionContext.getRequest(); HttpServletResponse response = ServletActionContext.getResponse(); HttpSession session =ServletActionContext.getRequest().getSessi
2011-12-09 14:55:01 252
ibatisTest
2009-12-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人