08 2017 档案
摘要:##redis配置详解 # Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argument: # # ./redis-server /path/to/redis...
阅读全文
摘要:import java.io.File; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; import org.apache.tools.ant.taskdefs.Zip; import org.apache.tools.ant.types.FileSet; /** * @De...
阅读全文
摘要:public static void main(String[] args) throws MalformedURLException { BufferedReader in = null; String result = null; try { URL url = new URL("http://www.baidu.com...
阅读全文
摘要:StringUtils用法+StringUtils详细介绍 博文来源:http://yijianfengvip.blog.163.com/blog/static/175273432201212221935832/ public static void StringUtil(){ //null 和 ""操作==========================================...
阅读全文
摘要:/** * 邮件发送工具类 */ /** * 邮件发送的方法 * * @param to 收件人 * @param subject 主题 * @param content 内容 * @param smtp 协议 * @param ho...
阅读全文
摘要:import java.io.FileOutputStream; import java.io.InputStream; import java.util.Properties; import org.apache.log4j.Logger; import org.apache.struts2.util.ClassLoaderUtils; /** * 读取properties 工具类 *...
阅读全文
摘要:/** * Class description * 日期处理类 * * Special Notes * * * @ver 0.1 * @author terry.wei * 2011-5-4 */ import java.sql.Timestamp; import java.text.DateFormat; import java.text.ParseException; ...
阅读全文
摘要:工具类用来获取bean, applicationContext.xml 工具类:
阅读全文
摘要:错误信息:Invalid argument during startup: unknown conf file parameter : requirepass redis本身的配置文件: 出现上面那种错误信息是因为你只去掉了一个#,但是#后面的空格没有去掉,类似: 只要把剩余的那个空格去掉就可以了。
阅读全文

浙公网安备 33010602011771号