会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小宇1994
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2018年3月16日
java通过反射调用有参数的方法
摘要: 1.服务端代码 /** * 执行shell命令 * @param command 执行命令 * @return */ public String exeCommandByPath( String command){ log.info("进入执行shell命令方法 执行命令:" + command);
阅读全文
posted @ 2018-03-16 18:30 步步丶惊云
阅读(13866)
评论(0)
推荐(0)
2018年3月14日
通过HttpClient调用服务
摘要: /** * 通过HttpClient调用服务 * * @param url 路径 * data json数据 * @return *///post请求方法public String sendItsmTask(String url, String data) throws Exception{ Sys
阅读全文
posted @ 2018-03-14 14:52 步步丶惊云
阅读(1025)
评论(0)
推荐(0)
webservice 客户端调用
摘要: /** * 通过webserevice下发工单 * @param url * @param method * @param requestMap * @return * @throws ServiceException * @throws MalformedURLException * @throw
阅读全文
posted @ 2018-03-14 14:51 步步丶惊云
阅读(313)
评论(0)
推荐(0)
2018年3月5日
AxisWebservice 发送多参数配置
摘要: 1、在web.xml中配置代码如下 <servlet> <servlet-name>AxisServlet</servlet-name> <display-name>Apache-Axis Servlet</display-name> <servlet-class> org.apache.axis.
阅读全文
posted @ 2018-03-05 20:20 步步丶惊云
阅读(787)
评论(0)
推荐(0)
2018年2月19日
oracle 更新用户密码,授连接权限,
摘要: 1、授连接权限 grant connect to 用户名; ALTER USER 用户名 ACCOUNT UNLOCK; 2、更新密码 ALTER USER 用户名 IDENTIFIED BY 更新密码;
阅读全文
posted @ 2018-02-19 18:32 步步丶惊云
阅读(498)
评论(0)
推荐(0)
2018年1月29日
maven项目中,lib目录下有自己私有的包,则需要配置一下代码,然后进行打包
摘要: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.6
阅读全文
posted @ 2018-01-29 18:33 步步丶惊云
阅读(325)
评论(0)
推荐(0)
java util.Date 转换为sql.Date
摘要: public static java.sql.Timestamp StrTransSqlDate(String date) { SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); java.
阅读全文
posted @ 2018-01-29 18:30 步步丶惊云
阅读(6551)
评论(0)
推荐(0)
java字符串利用dom4j转 xml 且遍历
摘要: 1、因为转换的格式不是标准格式,所以有时候获得xml根目录后rootElement.attributes() 取不到想要的属性 所以需要通过迭代器来获取想要的值 }
阅读全文
posted @ 2018-01-29 18:28 步步丶惊云
阅读(3011)
评论(0)
推荐(0)
java代码,在linux上删除文件
摘要: 1、其实在linux上和window是一样的 2、path 传入的路径(直接从根目录到你的文件的位置) public static boolean delFile(String path) { log.info("进入deFile方法 psth =: "+path); boolean flag =
阅读全文
posted @ 2018-01-29 18:17 步步丶惊云
阅读(8919)
评论(0)
推荐(0)
2018年1月17日
ORACLE创建用户,表空间,并且导出数据,导出表
摘要: 1、创建用户: create user toptea2 identified by "用户名" 2、给用户授权 grant create session to 用户名; grant create table to 用户名; grant create tablespace to 用户名; grant
阅读全文
posted @ 2018-01-17 19:01 步步丶惊云
阅读(3506)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告