会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
↑
↓
爱跳舞的程序员
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
24
25
26
27
28
29
30
31
32
下一页
2018年12月19日
关于获取路径path
摘要: String webPath = request.getServletPath(); log.info(webPath); 输出: /zjdlbb/zjdlbb/zjdlbb/test.ht log.info(request.getServletContext().getRealPath("/"))
阅读全文
posted @ 2018-12-19 09:32 爱跳舞的程序员
阅读(976)
评论(0)
推荐(0)
2018年12月13日
js之获取当前日期
摘要: var myDate = new Date(); myDate.getYear(); //获取当前年份(2位) myDate.getFullYear(); //获取完整的年份(4位,1970-????) myDate.getMonth(); //获取当前月份(0-11,0代表1月) myDate.g
阅读全文
posted @ 2018-12-13 17:11 爱跳舞的程序员
阅读(1382)
评论(0)
推荐(0)
System.getProperty("user.dir")
摘要: /**获得当前类的完整路径。最后一句*/package test;import java.net.MalformedURLException;import java.net.URI;import java.net.URISyntaxException;import java.net.URL;/***
阅读全文
posted @ 2018-12-13 10:04 爱跳舞的程序员
阅读(2046)
评论(0)
推荐(0)
2018年11月16日
PinyinUtil
摘要: <dependency> <groupId>com.belerweb</groupId> <artifactId>pinyin4j</artifactId> <version>2.5.1</version> </dependency> 依赖包 import net.sourceforge.pinyi
阅读全文
posted @ 2018-11-16 15:27 爱跳舞的程序员
阅读(440)
评论(0)
推荐(0)
java取得汉字拼音(pinyin4j)
摘要: jar包:pinyin4j.jar 基本用法: String[] pinyin = PinyinHelper.toHanyuPinyinStringArray('重'); 例如“重”字,该方法返回一个String类型的数组: "zhong4" "chong2" “重”是一个多音字,该方法的返回数组包
阅读全文
posted @ 2018-11-16 15:26 爱跳舞的程序员
阅读(2823)
评论(0)
推荐(0)
2018年11月7日
oracle sql 游标的简单用法(tip:sql中两个单引号表示一个单引号)
摘要: --游标遍历某个字段 (打印出来) declare res_sql varchar2(2000); cursor cur is select f_dcname from W_EC_PLACESTATION_COLLECT t where f_collectdate >= TRUNC(TO_DATE(
阅读全文
posted @ 2018-11-07 15:17 爱跳舞的程序员
阅读(528)
评论(0)
推荐(0)
oracle sql小结(主要讲横列转换的例子)decode 以及case
摘要: --建表 create table kecheng( id NUMBER, name VARCHAR2(20), course VARCHAR2(20), score NUMBER); --插入数据insert into kecheng (id, name, course, score)values
阅读全文
posted @ 2018-11-07 11:51 爱跳舞的程序员
阅读(258)
评论(0)
推荐(0)
oracle sql小结(主要讲横列转换的例子)group by以及wmsys.wm_concat()的使用
摘要: 计算九月每个电厂的数量select f_dcname,count(f_dcname) as 九月份的数量 from W_EC_PLACESTATION_COLLECT twhere f_collectdate >= TRUNC(TO_DATE('2018-09-01','yyyy-MM-dd'),'
阅读全文
posted @ 2018-11-07 10:21 爱跳舞的程序员
阅读(1695)
评论(0)
推荐(0)
2018年10月24日
设置td中的table置顶
摘要: style="vertical-align: top" <td colspan="11" rowspan="5" style="vertical-align: top"> <table class="formTable"> <tr> <td colspan="2" >序号</td> 不然图片红色部分
阅读全文
posted @ 2018-10-24 10:49 爱跳舞的程序员
阅读(3313)
评论(0)
推荐(0)
表单样式form.css
摘要: /**附件样式表。*/div.attachement{ float:left; overflow:hidden; padding:3px 0 0 15px; white-space:nowrap; } span.attachement-span{ float:left; background:#f5
阅读全文
posted @ 2018-10-24 09:43 爱跳舞的程序员
阅读(414)
评论(0)
推荐(0)
上一页
1
···
24
25
26
27
28
29
30
31
32
下一页
公告