摘要:
一、 public class ExcelUtils { public static String parseCellToString(Cell cell){ SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日"); String res 阅读全文
摘要:
一、 package com.wang.utils; import java.util.HashMap; import java.util.Map; import java.util.Set; public class MapUtils { public static String parsePar 阅读全文
摘要:
public class ConstantUtils { public static final Integer PAGE_SIZE=2; public static final Integer NAVIGATE_PAGES=5; } 阅读全文
摘要:
<!DOCTYPE html> <html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-model="http://www.w3.org/1999/xhtml" xmlns:v-on="http://www.w3.org 阅读全文
摘要:
一、 自己写一个filter类 package com.ujy.filter; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRes 阅读全文
摘要:
绑定:、 <build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include 阅读全文
摘要:
$.ajax({ type:"post", traditional: true, data:{arr:arr}, url:"${pageContext.request.contextPath}/customer/deleteById", dataType:"json", success: funct 阅读全文
摘要:
timeout : 1000 给ajax配置如上属性 $.ajax({ type:"post", url:"pro/savePro", timeout : 1000, data:$("#forms").serialize(), success:function (msg) { window.loca 阅读全文
摘要:
应该先将表单提交关闭,在action处添加javascript: 阅读全文
摘要:
<%-- param.id是取从另一个页面传过来的值 ,id 字符串 都可以--%> <input type="hidden" name="pid"value="${param.id}"> ar str=window.location.search.substr(1).split("&"); win 阅读全文
摘要:
导入导出excel 导入导出需要的jar包 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.16</version> </dependency> <dependency> < 阅读全文
摘要:
<welcome-file-list> <welcome-file>login.jsp</welcome-file> </welcome-file-list> 这是在web.xml里面配置的 。 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.d 阅读全文