码迷,mamicode.com
首页 >  
搜索关键字:get    ( 75501个结果
传智播客JavaWeb day14--监听器(用户踢人)、过滤器(解决全站乱码)
1.2.3.4.5.filter应用1.用过滤器解决全站乱码问题 1.1 乱码分类 乱码分为get和post方式请求乱码 1.2 post请求乱码解决 post请求乱码很好解决只需一行代码搞定request.setCharacterEncoding("utf-8")告诉服务器用utf...
分类:编程语言   时间:2015-05-04 19:31:07    阅读次数:320
redis数据类型
总共五种数据类型:1、Strings - 字符串127.0.0.1:6379> set name "zhaoja"OK127.0.0.1:6379> get name"zhaoja"2、Hashes - 哈希值3、Lists - 列表Redis的列表是简单的字符串列表,排序插入顺序。可以添加元素到R...
分类:其他好文   时间:2015-05-04 19:30:51    阅读次数:121
get,set ,写入读取cookies--[ASP.NET]
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;namespace demo5{ ...
分类:Web程序   时间:2015-05-04 19:29:24    阅读次数:108
Ubuntu在任一路径下打开终端
sudo apt-get install nautilus-open-terminal 安装完毕之后即可在任一路径下打开终端了:...
分类:系统相关   时间:2015-05-04 18:17:55    阅读次数:174
Newtonsoft.Json 序列化反序列化
public class People { public string name { get; set; } public string age { get; set; } public string sex { get; set; } }Li...
分类:Web程序   时间:2015-05-04 17:20:19    阅读次数:110
错误: 程序中有游离的‘\302’ ‘\240’等
在写程序时,有时候编译器需要程序必须是英文输入,但大家经常切到中文或者直接复制网络上的源代码,所以就出现了et_ip.c:28:1: 错误: 程序中有游离的‘\302’get_ip.c:28:1: 错误: 程序中有游离的‘\240’get_ip.c:28:1: 错误: 程序中有游离的‘\302’ge...
分类:其他好文   时间:2015-05-04 17:13:42    阅读次数:239
mysql install script under the OS of Ubuntu
#!/bin/bash echo "-----------------------start install mysql----------------------" apt-get install make cmake libncurses5-dev bison g++ mkd...
分类:数据库   时间:2015-05-04 17:13:06    阅读次数:170
Scala实现REST操作
// Compile in sbt // Run in sbt>run get https://raw.githubusercontent.com/nraychaudhuri/scalainaction/master/ chap02/breakable.scala // // The command line in sbt is // >run (post | get | delete |...
分类:其他好文   时间:2015-05-04 16:00:06    阅读次数:499
hibernate获取实体更新前的值
在使用hibernat的时候有时需要获取实体在更新前的某个字段的值,但hibernate没有提供公开的api来获取,如果使用session的get方法或用hql获取始终只能获取到更新后的值(我说的是在同一个会话当中,如果你另启一个...
分类:Web程序   时间:2015-05-04 16:00:06    阅读次数:221
lua接收图片并进行md5处理
需要luacurl(http://luacurl.luaforge.net/)和MD5两个库函数curl = require("luacurl")require("md5")-- 下载图片function get_img(url, c) local result = {} if c ==...
分类:其他好文   时间:2015-05-04 15:03:55    阅读次数:97
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!