会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
shuzu渊
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
2017年10月14日
java获得项目绝对路径
摘要: 在jsp和class文件中调用的相对路径不同。 在jsp里,根目录是WebRoot 在class文件中,根目录是WebRoot/WEB-INF/classes 当然你也可以用System.getProperty("user.dir")获取你工程的绝对路径。 1.jsp中取得路径: 以工程名为TEST
阅读全文
posted @ 2017-10-14 11:50 shuzu渊
阅读(458)
评论(0)
推荐(0)
2017年10月13日
JS中将ajax请求返回json数据动态生成表格显示在div中
摘要: 1、页面内容 <div style="width:900px;height:400px;" id="tableInfo"></div> 2、js内容 $.ajax({ //使用JQuery内置的Ajax方法 type : "post", //post请求方式 async : true, //异步请求
阅读全文
posted @ 2017-10-13 13:02 shuzu渊
阅读(5064)
评论(1)
推荐(0)
Java使用barcode4j生成条形码
摘要: 1、将要使用到的jar包导入项目(1、commons-lang-2.3.jar 2、barcode4j-light-2.0.jar) 2、新建类 BarcodeUtil 3、代码部分 package com.sale.util;import java.awt.image.BufferedImage;
阅读全文
posted @ 2017-10-13 12:41 shuzu渊
阅读(1513)
评论(0)
推荐(0)
2017年4月5日
数据库连接池文件格式
摘要: jdbc.properties文件内容 jdbc.driverClassName=com.mysql.jdbc.Driver jdbc.url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf8 jd
阅读全文
posted @ 2017-04-05 16:56 shuzu渊
阅读(281)
评论(0)
推荐(0)
2017年3月17日
JAVA Calendar判断某年某月有多少天
摘要: JAVA Calendar判断某年某月有多少天
阅读全文
posted @ 2017-03-17 15:27 shuzu渊
阅读(9507)
评论(0)
推荐(0)
上一页
1
2
3
4
5
公告