摘要: html中,在图片和文字对齐的时候,一直没有达到想要的对齐效果,发现使用position中的相对定位+绝对定位+padding+margin可以达到需要的效果。 阅读全文
posted @ 2016-04-23 13:25 理舞 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 效果图: 目录信息 graphic.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http- 阅读全文
posted @ 2016-04-22 09:39 理舞 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 使用ext版本信息:ext-4.1.1a <!-- 下面是引入文件需要导入的文件信息 ext-all.css ext-all.js --><link rel="stylesheet" type="text/css" href="ext-4.1.1a/resources/css/ext-all.css 阅读全文
posted @ 2016-04-22 09:24 理舞 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 通过获取请求头中字段user-agent来判别 阅读全文
posted @ 2016-04-21 22:58 理舞 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 在tomcat或jetty容器中,在运行时都有编码,如果需要,可以更改设置,在电脑中一般运行时是GBK编码 阅读全文
posted @ 2016-04-21 22:39 理舞 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 在页面中嵌入了iframe,如果需要传递参数到iframe中 1.通过将参数嵌入到url中,在iframe中使用${param.xxx}可以获取 2.通过将参数存入到session中,在iframe中使用${sessionScope.xxx}获取 阅读全文
posted @ 2016-04-21 22:35 理舞 阅读(5793) 评论(0) 推荐(1) 编辑
摘要: 貌似 收藏栏的图标 阅读全文
posted @ 2016-01-10 18:16 理舞 阅读(161) 评论(0) 推荐(0) 编辑
摘要: protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // 设置响应头... 阅读全文
posted @ 2016-01-10 18:09 理舞 阅读(1645) 评论(0) 推荐(0) 编辑
摘要: map时key/value形式存储信息的,键可以为对象null public static void main(String[] args) { Map map = new HashMap(); map.put("hello", "world"); m... 阅读全文
posted @ 2016-01-10 18:02 理舞 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 在servlet中HttpServeltRequest中有一个方法getRequestURL()假如我们平常输入的地址是:localhost/Demo1/TestServlet?hello=world起初我认为,通过getRequestURL()得到的就是我所输入的,发现一直不对,没有实现我的设想,... 阅读全文
posted @ 2016-01-10 17:41 理舞 阅读(188) 评论(0) 推荐(0) 编辑