a frame because it set 'X-Frame-Options' to 'deny' 在spring security配置的位置添加 http.headers().frameOptions().disable(); protected void configure(HttpSecur ...
分类:
编程语言 时间:
2020-02-08 17:12:56
阅读次数:
74
1,修改redis.conf配置文件 2.1.关闭保护模式 设置protected-mode no(必须操作)################################## NETWORK #####################################protected-mode ...
分类:
其他好文 时间:
2020-02-08 16:00:03
阅读次数:
68
Redis简介 Redis是一款开源的,ANSI C语言编写的,高级键值(key-value)缓存和支持永久存储NoSQL数据库产品。 Redis采用内存(In-Memory)数据集(DataSet) 。 支持多种数据类型。 运行于大多数POSIX系统,如Linux、*BSD、OS X等。 作者: ...
分类:
其他好文 时间:
2020-02-08 09:28:54
阅读次数:
81
android数据库的操作和WEB类是,都是增删改查,但是android数据库操作的代码远比WEB的代码要少,而且简单不用写。如果有不懂请看代码注释 1、用entity、dao、database创建数据库 entity:是一个实体类 dao:是一个接口(interface),用来对数据库经常操作 d ...
分类:
移动开发 时间:
2020-02-06 14:32:26
阅读次数:
143
AlertDialog(对话框) 它也是其他 Dialog的的父类!比如ProgressDialog,TimePickerDialog等,而AlertDialog的父类是:Dialog! AlertDialog并不能直接new出来,构造方法是protected的,要创建AlertDialog的话,需 ...
分类:
移动开发 时间:
2020-02-05 18:50:53
阅读次数:
96
protected void Button1_Click(object sender, EventArgs e) { if (this.DropDownList1.SelectedIndex > 0) { string xx = this.DropDownList1.SelectedValue.Tr ...
protected void Button1_Click(object sender, EventArgs e) { OleDbConnection conn = new OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=|d ...
分类:
数据库 时间:
2020-02-05 13:31:34
阅读次数:
100
protected void Button1_Click(object sender, EventArgs e) { string bh = this.TextBox1.Text.Trim(); string pass = this.TextBox2.Text.Trim(); DataTable d ...
protected void Button2_Click(object sender, EventArgs e) { FileInfo fi = new FileInfo(Server.MapPath(".") + @"\kk.xls"); if (fi.Exists) { fi.Delete(); ...
protected void Button3_Click(object sender, EventArgs e) { if (this.TextBox1.Text.ToString().Trim()=="101") { this.Button1.Visible = true; this.Button ...
分类:
其他好文 时间:
2020-02-05 13:17:43
阅读次数:
56