border:red solid thin;outline:#00ff00 dotted thick; //是绘制于元素周围的一条线,位于边框边缘的外围 text-decoration: none; //没有下划线 display:inline|block|inline-block的区别 block ...
分类:
Web程序 时间:
2016-07-14 07:04:43
阅读次数:
204
1.1.1 Struts2中封装复杂类型的数据: 封装到List集合: 页面: 商品名称:<input type="text" name="products[0].pname"/><br/> 商品价格:<input type="text" name="products[0].price"/><br/ ...
分类:
其他好文 时间:
2016-07-14 02:48:57
阅读次数:
135
Json.net 是以前最经常用的序列化组件,后来又注意到ServiceStack号称最快的,所以我做了以下测试 1)Json.net 2)ServiceStack.Text 但是有一个很致命的缺陷,serviceStack.Text在处理 复杂类就显示很不方便了 如 要序列化 Order 的话,结 ...
分类:
其他好文 时间:
2016-07-14 02:29:14
阅读次数:
364
1:打开任务管理器, [运行新任务] 2:(勾上以系统管理员权限创建此任务) 输入 cmd 3:进入要安装的软件所在的目录:cd D:\111_安装包\submit 3 (本文以安装submit 为例子) 4:输入命令:Sublime Text Build 3083 x64 Setup.exe 就会 ...
页面: 用户名:<input type="text" name="username"><br/> Action: public class ParamAction3 extends ActionSupport implements ModelDriven<User>{ private User us ...
分类:
其他好文 时间:
2016-07-14 02:15:44
阅读次数:
145
CSS控制文字的一些基本属性的使用: 一、CSS控制段落: 段落缩进:text-indent:20px; 文字方向:text-align:center; 文字修饰:text-decoration:underline;下划线 overline;上划线 Line-though;删除线 字与字之间的距离: ...
分类:
Web程序 时间:
2016-07-14 02:04:54
阅读次数:
270
1.文本节点 html结构如下: 1 2 3 打印出来的childNodes如下: 0 #text 1 ?1?? 2 #text 3 ?2?? 4 #text 5 ?3?? 6 #text 所谓的“#text”就是标签之间的空白 htm... ...
分类:
其他好文 时间:
2016-07-14 01:44:34
阅读次数:
119
源代码: <!DOCTYPE html><html><head> <title>donghua</title> <meta charset="utf-8"> <style type="text/css"> .beijing{ border: 1px solid black; width: 100%; ...
分类:
Web程序 时间:
2016-07-14 01:33:58
阅读次数:
250
SQLite3 SQLite3是一款开源的嵌入式关系型数据库,可移植性好,易使用,内存开销小. SQLite3是无类型的,意味着你可以保存任何类型的数据到任意表的任意字段中. SQLite3常用的4种数据类型:text(文本字符串), integer(整型值), real(浮点值), blob(二进 ...
分类:
移动开发 时间:
2016-07-14 01:22:40
阅读次数:
216
文本形式发邮件#!/usr/bin/envpython3#coding:utf-8importsmtplibfromemail.mime.textimportMIMETextfromemail.headerimportHeadersender=‘***‘receiver=‘***‘subject=‘pythonemailtest‘smtpserver=‘smtp.163.com‘username=‘***‘password=‘***‘msg=MIMEText(‘你好‘,‘text‘,‘utf..
分类:
编程语言 时间:
2016-07-13 23:34:29
阅读次数:
240