码迷,mamicode.com
首页 >  
搜索关键字:unacceptable content    ( 25707个结果
【从0开始Tornado建站】群聊
群聊的前台主要代码: {%block content%} 测试版本,每天凌晨4:00清水,enjoy it~~:-)--> {%for i in content[19*int(num)-19:19*int(num)]%} 【{{i[1]}}】 ({{i[3]}}) : {{i[2]}} {%end%} {%for i in range(1,pages+1)%} {{i}} {%...
分类:其他好文   时间:2014-05-13 23:14:45    阅读次数:388
AJAX POST请求中参数以form data和request payload形式在servlet中的获取方式
HTTP请求中,如果是get请求,那么表单参数以name=value&name1=value1的形式附到url的后面,如果是post请求,那么表单参数是在请求体中,也是以name=value&name1=value1的形式在请求体中。通过chrome的开发者工具可以看到如下(这里是可读的形式,不是真正的HTTP请求协议的请求格式): get请求: RequestURL:http://127....
分类:其他好文   时间:2014-05-13 05:59:56    阅读次数:353
bootstrap_07_表格类
<!doctypehtml> <html> <metacharset="utf-8"/> <head> <title>益司CMS-PC与手机建站集成</title> <metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"> <linkrel="stylesh..
分类:其他好文   时间:2014-05-13 05:03:20    阅读次数:251
bootstrap_10图片
<!doctypehtml> <html> <metacharset="utf-8"/> <head> <title>益司CMS-PC与手机建站集成</title> <metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"> <linkrel="stylesh..
分类:其他好文   时间:2014-05-13 03:47:28    阅读次数:422
bootstrap_08_表单
<!doctypehtml> <html> <metacharset="utf-8"/> <head> <title>益司CMS-PC与手机建站集成</title> <metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"> <linkrel="stylesh..
分类:其他好文   时间:2014-05-13 03:30:05    阅读次数:250
bootstrap_09按钮_表单
<!doctypehtml> <html> <metacharset="utf-8"/> <head> <title>益司CMS-PC与手机建站集成</title> <metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"> <linkrel="stylesh..
分类:其他好文   时间:2014-05-13 03:13:38    阅读次数:238
Android中SdCard的数据读写
importjava.io.FileNotFoundException; importjava.io.FileOutputStream; importjava.io.IOException; importandroid.R.integer; importandroid.content.Context; importandroid.os.Environment; publicclassFileService{ privateContextcontext; publicFileService(Contextcon..
分类:移动开发   时间:2014-05-13 02:59:18    阅读次数:329
contentprovider学习笔记
学习ContentproviderUri的格式:“content://”+authority+“/表名”字符串转成Uri格式:Uri.parse();获取Cursor某一项的数据:Cursor先锁定某一行:如cursor.movetofirst();Cursor再根据列名锁定某一列,最后取出数据:cursor.getvaluesType(cursor.getcolumnindex(“列名”)..
分类:其他好文   时间:2014-05-13 01:51:36    阅读次数:405
【从0开始Tornado建站】显示所有注册用户
显示注册用户的前台主要代码如下: {%block content%} {%for i in users%} {{i[1]}}({{i[3]}}星级) {%end%} {%end%} 显示注册用户的后台代码如下: class memberHandler(tornado.web.RequestHandler): def get(self): name=self.get_coo...
分类:其他好文   时间:2014-05-12 23:10:06    阅读次数:574
bootstrap_03_常用标签
<!doctypehtml> <html> <metacharset="utf-8"/> <head> <title>益司CMS-PC与手机建站集成</title> <metaname="viewport"content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"> <linkrel="stylesh..
分类:其他好文   时间:2014-05-11 19:22:08    阅读次数:386
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!