• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
香甜苦咖啡
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2014年3月19日

applicationContext.xml
摘要: com.liuruichao.modelhibernate.dialect=org.hibernate.dialect.MySQLDialecthibernate.show_sql=truehibernate.format_sql=truehibernate.hbm2ddl.auto=update 阅读全文
posted @ 2014-03-19 21:29 香甜苦咖啡 阅读(136) 评论(0) 推荐(0)
 
struts.xml
摘要: /register.jsp/registerSuccess.jsp/registerError.jsp 阅读全文
posted @ 2014-03-19 21:28 香甜苦咖啡 阅读(102) 评论(0) 推荐(0)
 
web.xml
摘要: index.jsp OpenSessionInViewFilter org.springframework.orm.hibernate4.support.OpenSessionInViewFilter OpenSessionInViewFilter /* struts2org.ap... 阅读全文
posted @ 2014-03-19 21:27 香甜苦咖啡 阅读(105) 评论(0) 推荐(0)
 
jdbc.properties
摘要: jdbc.driverClassName=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://localhost:3306/spring?useUnicode=true&characterEncoding=utf-8jdbc.username=rootjdbc.pa... 阅读全文
posted @ 2014-03-19 21:27 香甜苦咖啡 阅读(106) 评论(0) 推荐(0)
 
apache+tomcat的集群--Session复制配置
摘要: 总结一:apache+tomcat的集群(整理中)2009-08-17 00:31(一)需要的相关程序:1. apache_2.2.11-win32-x86-no_ssl.msi2. mod_jk-1.2.28-httpd-2.2.3.so3. tomcat6(二)术语解释:1.apache Apa... 阅读全文
posted @ 2014-03-19 21:22 香甜苦咖啡 阅读(514) 评论(0) 推荐(0)
 
mysql 定时触发器
摘要: 1. mysql可以实现定时触发功能,比如说定于某某时间mysql数据库做什么工作,或每隔多长时间做什么工作。第二种情况应用还是比较广的,比如说我希望每天检查一下我的数据信息,超过一个月的无用信息清除以腾出空间供其他存储数据使用;或者相隔一段时间更新一下数据等等。下面讨论下这种情况,给出一个例子供... 阅读全文
posted @ 2014-03-19 21:20 香甜苦咖啡 阅读(1478) 评论(0) 推荐(0)
 
mysql 查看存储过程
摘要: 方法一:select`name`frommysql.procwheredb='your_db_name'and`type`='PROCEDURE'方法二:showprocedurestatus;查看存储过程或函数的创建代码showcreateprocedureproc_name;showcreate... 阅读全文
posted @ 2014-03-19 21:18 香甜苦咖啡 阅读(151) 评论(0) 推荐(0)
 
Quatz 定时任务
摘要: 1、Scheduler的配置 说明:Scheduler包含一个Trigger列表,每个Trigger表示一个作业。2、Trigger的配置 ... 阅读全文
posted @ 2014-03-19 21:14 香甜苦咖啡 阅读(423) 评论(0) 推荐(0)
 
Apache Httpd常用命令
摘要: 启动: sudo apachectl start重启: sudo apachectl restart关闭: sudo apachectl stop检查配置文件: sudo apachectl -t 阅读全文
posted @ 2014-03-19 18:33 香甜苦咖啡 阅读(131) 评论(0) 推荐(0)
 
Mac安装nginx
摘要: 1. 安装PCREDownload latestPCRE. After download go to download directory from terminal.$ cd ~/Download $ tar xvzf pcre-8.12.tar.gz$ cd pcre-8.12$ sudo ./... 阅读全文
posted @ 2014-03-19 18:32 香甜苦咖啡 阅读(107) 评论(0) 推荐(0)
 
nginx常用命令
摘要: nginx -s startnginx -s reloadnginx -s stop 阅读全文
posted @ 2014-03-19 18:30 香甜苦咖啡 阅读(91) 评论(0) 推荐(0)
 
nginx安装
摘要: 装nginx的时候报错:./configure: error: the HTTP rewrite module requires the PCRE library.虽然可以跳过rewrite功能,但是这个功能还是很适用的,网上找了很多方法,都是yum install pcre-devel发现也没有y... 阅读全文
posted @ 2014-03-19 18:29 香甜苦咖啡 阅读(115) 评论(0) 推荐(0)
 
POI生成Excel
摘要: 1.Apache POI简介Apache POI是Apache软件基金会的开放源码函式库,POI提供API给Java程式对Microsoft Office格式档案读和写的功能。 .NET的开发人员则可以利用NPOI (POI for .NET) 来存取 POI 的功能。2.POI结构HSSF - 提... 阅读全文
posted @ 2014-03-19 18:27 香甜苦咖啡 阅读(158) 评论(0) 推荐(0)
 
Android上传文件至服务器
摘要: 本实例实现每隔5秒上传一次,通过服务器端获取手机上传过来的文件信息并做相应处理;采用Android+Struts2技术。一、Android端实现文件上传1)、新建一个Android项目命名为androidUpload,目录结构如下:2)、新建FormFile类,用来封装文件信息package com... 阅读全文
posted @ 2014-03-19 18:26 香甜苦咖啡 阅读(185) 评论(0) 推荐(0)
 
String,StringBuffer与StringBuilder的区别??
摘要: String 字符串常量StringBuffer 字符串变量(线程安全)StringBuilder 字符串变量(非线程安全)简要的说, String 类型和 StringBuffer 类型的主要性能区别其实在于 String 是不可变的对象, 因此在每次对 String 类型进行改变的时候其实都等同... 阅读全文
posted @ 2014-03-19 18:25 香甜苦咖啡 阅读(150) 评论(0) 推荐(0)
 
Https网站中的安全证书导入到java中的cacerts证书库
摘要: 提示:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPa... 阅读全文
posted @ 2014-03-19 18:24 香甜苦咖啡 阅读(3218) 评论(1) 推荐(0)
 
axis2 发布webservice
摘要: 一、Axis2的下载和安装 1.可从http://ws.apache.org/axis2/下载Axis2的最新版本: 可以下载如下两个zip包: axis2-1.5.4-bin.zip axis2-1.5.4-war.zip 其中 axis2-1.5.4-bin.zip文件中包含了Axis2中所有的... 阅读全文
posted @ 2014-03-19 18:22 香甜苦咖啡 阅读(140) 评论(0) 推荐(0)
 
xfire发布webservice
摘要: 一.使用XFire发布WebService 1.创建service接口Java代码packagecom.test.service;importcom.test.service.bean.User;publicinterfaceIHelloService{publicStringsayHello(St... 阅读全文
posted @ 2014-03-19 18:22 香甜苦咖啡 阅读(945) 评论(0) 推荐(0)
 
xfire客户端调用
摘要: Service serviceModel = new ObjectServiceFactory().create(HelloService.class);XFire xfire = XFireFactory.newInstance().getXFire();XFireProxyFactory fac... 阅读全文
posted @ 2014-03-19 18:20 香甜苦咖啡 阅读(222) 评论(0) 推荐(0)
 
使用cxf发布WebService(Spring)
摘要: 这篇文章介绍一下如何在java中发布WEB SERVICE在java程序发布web serice 可以使用几种开源的产品如:AXIS,XFIRE,CXF。现在CXF应该可以取代XFIRE作为首选的WEB SERVICE 发布产品。下面介绍一下如何使用CXF发布一个web service。1.下载CX... 阅读全文
posted @ 2014-03-19 18:19 香甜苦咖啡 阅读(155) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3