摘要: request对象的setCharacterEncoding()方法用于设置字符集,可以用来解决中文乱码问题。为什么会出现中文乱码问题? 常用的字符集编码有ASCII、ISO-8859-1、GB2312、GBK、Unicode、UTF-8等,Java在其内部使用Unicode字符集来表示字符,这样就 阅读全文
posted @ 2017-07-10 10:18 AlexanderTheGreat 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 【特惠】掬一轮明月 表无尽惦念 【公告】好奇金装成长裤新品上市 【特惠】大牌闪购 · 抢! 【公告】发福利 买车就抢千元油卡 【公告】家电低至五折 【特惠】掬一轮明月 表无尽惦念 【公告】好奇金装成长裤新品上市 【特惠】大牌闪购 · 抢! 【公告】发福利 买车就抢千元油卡 【... 阅读全文
posted @ 2017-07-06 11:35 AlexanderTheGreat 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 图片轮播 ... 阅读全文
posted @ 2017-07-06 11:32 AlexanderTheGreat 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-07-02 17:22 AlexanderTheGreat 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 下例中:如果不取消事件冒泡,点击小div后会同时提示这是小div,这是大div。取消事件冒泡后,只会提示这是小div 阅读全文
posted @ 2017-07-02 07:33 AlexanderTheGreat 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 此时点击去百度之后,不会发生页面跳转 阅读全文
posted @ 2017-07-02 07:30 AlexanderTheGreat 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 复习 阅读全文
posted @ 2017-07-01 16:19 AlexanderTheGreat 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 首先我们创建仓库 第一次上传文件: 在左下角位置会出现下面一条消息 然后Add >Commit >Push的顺序上传文件到远程仓库 在项目中右键选中git 然后选择add 然后右键选中git 然后选择commit file 然后进入下面的页面 选择commit时也可以选择 完成后在下方会有成功提示 阅读全文
posted @ 2017-07-01 16:15 AlexanderTheGreat 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 准备环境: ①电脑已安装git ②注册github账号 一、使用git控制台进行本地操作 ①打开Git Bash ②填写用户名和邮箱作为标识 分别输入以下两个命令: git config --global user.name “此处填写用户名” git config --global user.em 阅读全文
posted @ 2017-07-01 16:08 AlexanderTheGreat 阅读(579) 评论(0) 推荐(0) 编辑
摘要: 首先我们新建一个Web项目: 在Idea中点击File >New >Project 选中JavaEE下的Web Application 点击FIle >Settings 选择Build,Execution,Deployment >Application Servers >”+”号 >Tomcat S 阅读全文
posted @ 2017-07-01 15:59 AlexanderTheGreat 阅读(420) 评论(0) 推荐(0) 编辑