- 博客(11)
- 资源 (27)
- 收藏
- 关注
原创 spring mvc里的验证码
如图效果:ImageServlet 类:package com.szllt.pingshan.entity.info;/** * @author liangxiaolei * @version 创建时间:2016年6月28日 上午10:26:30 * 类说明: */import java.awt.Color;import java.a
2016-06-28 16:58:09 647
原创 重要查询语句
---查询水位select a.* from dt_water_level a right join(select stcd, MIN(tm) mintm from dt_water_level where tm>='2016-05-19 08:00:00' group by stcd) bon a.stcd=b.stcd and a.tm=b.mintm order by a.stc...
2016-06-17 16:57:01 418
原创 xml,list,map和json互转的问题
package com.shine.framework.core.util;import java.io.ByteArrayOutputStream;import java.util.ArrayList;import java.util.HashMap;import java.util.Iterator;import java.util.List;import ja
2016-06-17 14:50:41 815
原创 json格式的解析,list如何转换json格式
list转换成json,然后在js里获取: 基本格式: controller里: JSONObject json = new JSONObject();json.put("data", weirFlowService.queryWeirFlow(null));response.setCharacterEncoding("utf-8");
2016-06-13 17:14:01 4712
原创 页面循环里把一个记录数据多行显示
像这种排列,一个记录在多排显示。jsp部分代码:style="width: 100%; height: 18px; color: #000; padding-left: 10px; padding-bottom: 10px;">当前位置:信息管理->水务工程基本信息->水库基本信息水库编码请选择 ${item2.stcd}
2016-06-13 16:08:49 1953
原创 常见文件类型
//常见文件类型 String pictureSuffix = ".jpg.jpeg.png.gif.psd.bmp";String videoSuffix = ".mp4.avi.mpeg.3gp.mov.exe";String documentSuffix=".word.zip.pdf.excel.ppt.rtf.xlsx.txt.doc.xls.wpd.html.h
2016-06-07 17:16:44 730
原创 在页面截取字符串并判断
${fn:substringAfter(item.disasterAttach.attachUrl,".")} test="${(fn:substringAfter(item.disasterAttach.attachUrl,'.'))=='jpg'or (fn:substringAfter(item.disa
2016-06-07 17:15:52 389
原创 jsp页面上截取字符串
EL表达式截取字符串${fn:substring("你要截取的字符串"),beginIndex,endIndex} 函数名 函数说明 使用举例 fn:contains 判断字符串是否包含另外一个字符串 fn:containsIgnoreCase 判断字符串是否包含另外一个字符串(大小写无关) fn:endsWith 判断字符串是否以另外字符
2016-06-07 15:17:09 7514
原创 合并和拆分map,合并和拆分list,应用于把表格的两行并排显示
合并两个map:eg1.public static void main(String args[]) { Map map =new HashMap(); Map map1 =new HashMap(); map.put("1",new Integer(1)); map.put("2", new Integer(2)); m
2016-06-07 11:55:04 9895 1
原创 div,css,js样式
//CSS控制Table内外边框、颜色、大小示例table.msgtable {border:solid #add9c0; border-width:1px 0px 0px 1px; border-color:}table.msgtable tbody td {border:solid #add9c0; border-wi
2016-06-03 17:59:19 392
tortoisegit使用说明.docx
2020-05-26
nginx里的memcached配置需要的包
2018-03-19
有人网络调试助手 串口调试助手二合一
2016-04-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人