07 2014 档案

登陆界面,输入框之间留出空白设置
摘要:#input input{ width:120px; height: 15px; margin-bottom: 5px; } 阅读全文

posted @ 2014-07-31 19:13 随风浪子的博客 阅读(217) 评论(0) 推荐(0) 编辑

margin-top相对谁的问题
摘要:根据规范,一个盒子如果没有上补白(padding-top)和上边框(border-top),那么这个盒子的上边距会和其内部文档流中的第一个子元素的上边距重叠。意思便是:如果你只想margin相对于父标签,那么富标签不许设置padding-top属性。 阅读全文

posted @ 2014-07-31 19:05 随风浪子的博客 阅读(655) 评论(0) 推荐(0) 编辑

常用汉字的Unicode码表
摘要:\u96d5\u864e\u7684\u4e00\u4e86\u662f\u6211\u4e0d\u5728\u4eba\u4eec\u6709\u6765\u4ed6\u8fd9\u4e0a\u7740\u4e2a\u5730\u5230\u5927\u91cc\u8bf4\u5c31\u53bb 阅读全文

posted @ 2014-07-31 15:54 随风浪子的博客 阅读(6692) 评论(0) 推荐(0) 编辑

从InputStream到String_写成函数
摘要:1 String result = readFromInputStream(inputStream);//调用处 2 //将输入流InputStream变为String 3 public String readFromInputStream(InputStream in) throws I... 阅读全文

posted @ 2014-07-15 09:47 随风浪子的博客 阅读(328) 评论(0) 推荐(0) 编辑

Http请求和响应应用
摘要:1 //以下载方式打开资源 2 public void test4(HttpServletResponse response) throws IOException { 3 response.setHeader("content-disposition", "attachm... 阅读全文

posted @ 2014-07-14 21:58 随风浪子的博客 阅读(314) 评论(0) 推荐(0) 编辑

静态wenb开发,动态web开发
摘要: 阅读全文

posted @ 2014-07-12 19:52 随风浪子的博客 阅读(282) 评论(0) 推荐(0) 编辑

dom4j增删改查
摘要:1 //dom4j添加内容,在第一本书上指定位置添加售价 更改保存所有孩子list集合的顺序 2 @Test 3 public void add1() throws Exception{ 4 //读 5 SAXReader reader =... 阅读全文

posted @ 2014-07-12 11:30 随风浪子的博客 阅读(388) 评论(0) 推荐(0) 编辑

微信消息处理JAXP-sax解析
摘要:1 package cn.zhaokai.sax; 2 3 import java.io.IOException; 4 import java.io.InputStream; 5 import java.io.PrintWriter; 6 import java.text.Simpl... 阅读全文

posted @ 2014-07-09 22:01 随风浪子的博客 阅读(290) 评论(0) 推荐(0) 编辑

微信消息处理JAXP-dom解析
摘要:1 package cn.lihainan.test; 2 import java.io.BufferedReader; 3 import java.io.ByteArrayInputStream; 4 import java.io.ByteArrayOutputStream; 5 im... 阅读全文

posted @ 2014-07-09 21:48 随风浪子的博客 阅读(271) 评论(0) 推荐(0) 编辑

inputstream与其他格式的转换
摘要:1、InputStream 转换成InputSource 。InputStream inputStream = request.getInputStream(); InputSource input = new InputSource(inputStream);2、InputStream 输出转... 阅读全文

posted @ 2014-07-09 19:53 随风浪子的博客 阅读(1656) 评论(0) 推荐(0) 编辑

微信消息处理
摘要:1 package cn.liuning; 2 3 4 import java.io.IOException; 5 import java.io.InputStream; 6 import java.io.PrintWriter; 7 import java.text.Simpl... 阅读全文

posted @ 2014-07-09 19:47 随风浪子的博客 阅读(266) 评论(0) 推荐(0) 编辑

使用JAXP进行sax解析
摘要:1 package cn.liuning.sax; 2 3 import javax.xml.parsers.SAXParser; 4 import javax.xml.parsers.SAXParserFactory; 5 6 import org.xml.sax.Attribu... 阅读全文

posted @ 2014-07-09 18:50 随风浪子的博客 阅读(330) 评论(0) 推荐(0) 编辑

DOM生成XML文档与解析XML文档(JUNIT测试)
摘要:1 package cn.liuning.test; 2 3 import java.io.File; 4 import java.io.IOException; 5 6 import javax.xml.parsers.DocumentBuilder; 7 import javax.xml.... 阅读全文

posted @ 2014-07-07 17:42 随风浪子的博客 阅读(295) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示