liujianeye的博客
liujianeye · 共 17 篇文章
JAVA读取配置文件
package com.web.servlet.util; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Properties; /** * 读取配置文件 * @author liujian * */ public class ReadConfigFile { public static void ma…
2014-06-05 21:07 · JAVA基础 · 评论(0)
linux
http://bbs.csdn.net/topics/390321854 http://tingerh.blog.163.com/blog/static/2148720142012111903855339/ http://huangwen200301930.blog.163.com/blog/static/484849812011111142623315/
2013-09-17 17:52 · linux · 评论(0)
zhuanzai
http://blog.csdn.net/jaminwm/article/details/7183773 编码CODE: http://blog.csdn.net/xiongchao2011/article/details/7276834
2012-01-18 00:51 · zhuan · 评论(0)
ext desktop
2011-08-31 01:05 · 评论(0)
cookie
1.cookie.setMaxAge(maxAge); 这个属性没有设置,则这个cookie即随着浏览器的关闭即消失 2.cookie.setPath("/"); //设置路径,这个路径即该工程下都可以访问该cookie 如果不设置路径,那么只有设置该cookie路径及其子路径可以访问 Java例子: 增加cookie: public static void addCookie(HttpServletResponse response,String name,String value,int maxAge){ Cookie cookie = new Cookie(name,value); c…
2011-08-25 01:50 · 评论(0)
jquery-json使用
异步调用json的使用 乱码处理: public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("application/json "); response.setCharacterEncoding("utf-8"); PrintWriter out = response.getWriter(); String nameValue = "an&%\\&\"$#t"; Stri…
2011-08-16 01:25 · jquery-json使用 · 评论(0)
exxt demo
function GetInvoices(record, expander, callback) { Ext.Ajax.request( { url : 'getDetailInvoices.json', params : { 'chkNo' : record.data.chkNo, 'vendorNo' : record.data.vendNo }, success : function (response) { var data = Ext.decode(response.responseText); if (!data.success) { showError(data.message…
2011-07-12 02:18 · ext · 评论(0)