会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
千彧
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
22
23
24
25
26
27
28
29
30
···
40
下一页
2017年9月26日
<form> 标签的entype属性
摘要: entype属性规定在发送到服务器之前应该如何对表单数据进行编码。 不对字符编码 在使用包含文件上传控件的表单时,必须使用该值
阅读全文
posted @ 2017-09-26 17:30 千彧
阅读(422)
评论(0)
推荐(0)
编辑
javax.servlet.http.Part 文件上传
摘要: 编辑jsp页面: 编辑servlet:
阅读全文
posted @ 2017-09-26 17:18 千彧
阅读(1910)
评论(0)
推荐(0)
编辑
2017年9月25日
加载jQuery库
摘要: 使用google 使用Mcrisoft 也可以使用本地iQuery
阅读全文
posted @ 2017-09-25 21:02 千彧
阅读(280)
评论(0)
推荐(0)
编辑
js with
摘要: 1)简要说明 with 语句可以方便地用来引用某个特定对象中已有的属性,但是不能用来给对象添加属性。要给对象创建新的属性,必须明确地引用该对象。 2)语法格式 with(object instance) { //代码块 } 有时候,我在一个程序代码中,多次需要使用某对象的属性或方法,照以前的写法,都
阅读全文
posted @ 2017-09-25 20:04 千彧
阅读(278)
评论(0)
推荐(0)
编辑
2017年9月22日
安装 matplotlib
摘要: 比较推荐还是用pip来安装,用源码安装还是会比较麻烦,进入到CMD窗口下,执行python -m pip install -U pip setuptools进行升级。 接着键入python -m pip install matplotlib进行自动的安装,系统会自动下载安装包。 这里如果因为网络或其
阅读全文
posted @ 2017-09-22 10:36 千彧
阅读(231)
评论(0)
推荐(0)
编辑
2017年9月21日
HIbernate- SQLQuery 简易
摘要: 1 package cn.demo; 2 3 import java.util.Arrays; 4 import java.util.List; 5 6 import org.hibernate.SQLQuery; 7 import org.hibernate.Session; 8 import org.hibernate.Transaction; 9 10 im...
阅读全文
posted @ 2017-09-21 11:12 千彧
阅读(3306)
评论(0)
推荐(0)
编辑
Hibernate- Criteria 简易
摘要: 1 package cn.demo; 2 3 import java.util.List; 4 5 import org.hibernate.Criteria; 6 import org.hibernate.Session; 7 import org.hibernate.Transaction; 8 import org.hibernate.criterion.Res...
阅读全文
posted @ 2017-09-21 10:49 千彧
阅读(177)
评论(0)
推荐(0)
编辑
Hibernate - Query简易
摘要: 1 package cn.demo; 2 3 import java.util.List; 4 5 import org.hibernate.Query; 6 import org.hibernate.Session; 7 import org.hibernate.Transaction; 8 9 import cn.itcast.domain.Customer;...
阅读全文
posted @ 2017-09-21 09:48 千彧
阅读(165)
评论(0)
推荐(0)
编辑
2017年9月20日
Hibernate连接数据库
摘要: 包结构如下图所示(按图标进行对齐): 环境搭好后代码分为以下几步: 下面进行详细说明: 创建customer javabean 在javaBean所在的包下创建映射关系文件Customer.hbm.xml 在src下创建Hibernate的配置文件 hibernate.cfg.xml 封装加载配置类
阅读全文
posted @ 2017-09-20 21:14 千彧
阅读(194)
评论(0)
推荐(0)
编辑
监听器模拟用户在线
摘要: 由于会话管理机制的原因,用户需在不同的浏览器上进行登录。 期间可以访问onlineservlet查询在线用户列表。 设置监听器: 登录serlet: 下线servlet: 在线用户查询servlet: 登录界面jsp: 登录后主界面:
阅读全文
posted @ 2017-09-20 11:53 千彧
阅读(232)
评论(0)
推荐(0)
编辑
上一页
1
···
22
23
24
25
26
27
28
29
30
···
40
下一页
公告