摘要: 传送门:http://www.mababa.xin/2021/01/14/java%e9%80%9a%e8%bf%87%e5%8f%8d%e5%b0%84%e8%b0%83%e7%94%a8%e6%9c%89%e5%8f%82%e6%95%b0%e7%9a%84%e6%96%b9%e6%b3%95/ 阅读全文
posted @ 2018-03-16 18:30 步步丶惊云 阅读(13816) 评论(0) 推荐(0) 编辑
摘要: /** * 通过HttpClient调用服务 * * @param url 路径 * data json数据 * @return *///post请求方法public String sendItsmTask(String url, String data) throws Exception{ Sys 阅读全文
posted @ 2018-03-14 14:52 步步丶惊云 阅读(1017) 评论(0) 推荐(0) 编辑
摘要: /** * 通过webserevice下发工单 * @param url * @param method * @param requestMap * @return * @throws ServiceException * @throws MalformedURLException * @throw 阅读全文
posted @ 2018-03-14 14:51 步步丶惊云 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 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 步步丶惊云 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 1、授连接权限 grant connect to 用户名; ALTER USER 用户名 ACCOUNT UNLOCK; 2、更新密码 ALTER USER 用户名 IDENTIFIED BY 更新密码; 阅读全文
posted @ 2018-02-19 18:32 步步丶惊云 阅读(490) 评论(0) 推荐(0) 编辑
摘要: <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 步步丶惊云 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 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 步步丶惊云 阅读(6515) 评论(0) 推荐(0) 编辑
摘要: 1、因为转换的格式不是标准格式,所以有时候获得xml根目录后rootElement.attributes() 取不到想要的属性 所以需要通过迭代器来获取想要的值 } 阅读全文
posted @ 2018-01-29 18:28 步步丶惊云 阅读(2995) 评论(0) 推荐(0) 编辑
摘要: 1、其实在linux上和window是一样的 2、path 传入的路径(直接从根目录到你的文件的位置) 阅读全文
posted @ 2018-01-29 18:17 步步丶惊云 阅读(8864) 评论(0) 推荐(0) 编辑
摘要: 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 步步丶惊云 阅读(3492) 评论(0) 推荐(0) 编辑