`
heruito
  • 浏览: 16780 次
社区版块
存档分类
最新评论
文章列表
package com.util; import java.net.URLDecoder; import java.net.URLEncoder; import java.security.MessageDigest; import javax.crypto.Cipher; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.DESedeKeySpec; import sun.misc.BASE64Decoder; import s ...
附 代码   有基础的就看得懂   package org.bean.pub; import java.io.File; import javax.swing.JFileChooser;import javax.swing.JOptionPane;import javax.swing.filechooser.FileNameExtensionFilter;     import java.util.ArrayList;import java.util.Iterator;import java.util.List; impor ...
直接贴代码     package org.bean.pub;import java.io.File;import java.io.FileWriter;import java.io.IOException;   import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.List; import org.dom4j.Document;import org.dom4j.Element;import org.dom4j.DocumentHelper;import org.dom4j ...
辅助类代码: package com.util;   import java.io.FileNotFoundException; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map;   impor ...
Spring mvc  导出EXecl 解决getOutputStream() has already been called for this response,   能正常导出 ,但是控制台却是报错,在百度里找了好多方法,都不行,如果你看到了,这个方法你可以试试,看看能不能解决      付代码:   错误代码: SwpscService swpscService = (SwpscService) SpringContextUtil.getBean("SwpscService"); mav.addObject("pageobj",sw ...

spring 的MVC---转载

需要的包有: commons-logging.jar  log4j.jar  spring2.jar cglib-nodep.jar 1,web.xml 里面添加 DispatcherServlet 配置: <servlet>   <servlet-name>spring-mvc</servlet-name>   <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>   <init-param>    <p ...
1.jsp代码   <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> < ...

ajax的初步应用

    博客分类:
  • ajax
         <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> < ...
Global site tag (gtag.js) - Google Analytics