2016年1月27日
摘要:
<?xml version="1.0" encoding="UTF-8"?> <web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001
阅读全文
posted @ 2016-01-27 17:14
Simle
阅读(276)
推荐(0)
2016年1月26日
摘要:
用户模块 1.实现了登录,异步提示登录成功或失败 2.结合了spring mvc对json的支持待实现: 1.表单添加验证信息 2.用户注册 3.根据用户权限跳转不同页面 4.完善页面样式
阅读全文
posted @ 2016-01-26 17:26
Simle
阅读(145)
推荐(0)
摘要:
奇怪的乱码问题: 1.jsp页面utf-8 2.java代码utf-8 3.数据库编码utf-8 4.tomcat server.xml配置URIEncoding="UTF-8" 前台传入后台的数据一直为乱码 解决方法: eclipse是使用自己自带的tomcat(虽然你可以将这个tomcat的路径
阅读全文
posted @ 2016-01-26 17:05
Simle
阅读(280)
推荐(0)
2016年1月25日
摘要:
$(document).ready(function(){ $.dialog({ lock: true, title:'提示', content: '${sucessStr}', icon: 'success.gif',min:false,max:true }); }
阅读全文
posted @ 2016-01-25 16:35
Simle
阅读(361)
推荐(0)
2016年1月24日
摘要:
项目需求: 1.使用平台:pc、安卓手机 2.实时监测温度、湿度的数据,并且可以进行修改相应的数据项目开发步骤: 1.设计数据库 2.搭建项目框架(jdbc+spring mvc+jsp) 3.编写model、dao、service、action层项目特色: 1.jdbc稳定、速度快 ...
阅读全文
posted @ 2016-01-24 22:39
Simle
阅读(168)
推荐(0)
2016年1月21日
摘要:
1.防止重新构建var constructedHtml = "";for(var i = 0,len = arr.length;i "+arr[i].title+""; //没有重新布局,增加到字符串}document.getElementById(myList).innerHTM...
阅读全文
posted @ 2016-01-21 22:02
Simle
阅读(212)
推荐(0)
2016年1月20日
摘要:
1.创建分页实体类 public class PageBean { private int page; // 页码 private int rows; // 每页显示行数 private int start; // 某一页从第几条开始 public PageBean(int page, int ro
阅读全文
posted @ 2016-01-20 21:12
Simle
阅读(236)
推荐(0)
摘要:
1.日期工具类 import java.text.SimpleDateFormat; import java.util.Date; public class DateUtil { public static String formatDate(Date date,String format){ St
阅读全文
posted @ 2016-01-20 21:02
Simle
阅读(258)
推荐(0)
摘要:
1.引入相关jar包 2.配置Spring配置文件,命名为applicationContext.xml(配置好后放到src目录下) <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.
阅读全文
posted @ 2016-01-20 20:58
Simle
阅读(436)
推荐(0)
2016年1月18日
摘要:
1.<c:if test="${var} != null"></c:if> 2. <c:foreach var="singleVar" items="" varStatus="states"></c:foreach> <c:if test="${states.index%2=0}"></c:if>
阅读全文
posted @ 2016-01-18 23:12
Simle
阅读(290)
推荐(0)