asp.net cookies的使用方法
asp.net cookies的使用方法 Response.Cookie("username").value="aa" 写入 username=Request.Cookies("username").value 读取 最好用SESSION比较方便 session("username")="aa" 写入 username=session("username")...
GridView、DataGrid、DataList、Repeater、ListView、DetailsView、FormView 的区别
GridView、DataGrid、DataList、Repeater、ListView、DetailsView、FormView 的区别【网摘】 长时间不看,记忆模糊了,所以从网上整理了下备忘。 列表类 GridView 控件GridView...
http协议中get和post方法的优点和缺点
Form中的get和post方法, 在数据传输过程中分别对应了HTTP协议中的GET和POST方法。二者主要区别如下: 1、Get是用来从服务器上获得数据,而Post是用来向服务器上传递数据。 2、Get将表单中数据的按照variable=v...
Struts2文件下载
1 package com.test.action; 2 3 import java.io.InputStream; 4 import java.io.UnsupportedEncodingException; 5 import javax.servlet.http.HttpServletResponse; 6 import org.apache.struts2.ServletAct...
Struts2文件上传
1 package com.test; 2 3 import java.io.File; 4 import java.io.IOException; 5 import java.text.SimpleDateFormat; 6 import java.util.Date; 7 import java.util.Random; 8 9 import org.apache.commons.io.F...
oracle主键自增
1建立数据表Code<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->create table Test_Increase( &nb...
myeclipse快捷键大全
MyEclipse 快捷键1(CTRL)-------------------------------------Ctrl+1 快速修复Ctrl+D: 删除当前行 Ctrl+Q 定位到最后编辑的地方 Ctrl+L 定位在某行 Ctrl+O 快速显示 OutLine Ctrl+T ...