`
文章列表
转帖 谢谢   原文链接:http://yaho1233.blog.chinabyte.com/2010/06/04/109/    
<div id="player"> <script language=javascript> var focus_width=248 var focus_height=185 var text_height=20 var swf_height = focus_height+text_height var pics = ''; var links = ''; var texts = ''; ...

遍历HashMap

import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.Map.Entry; public class MapTest { public static void main(String[] args) { Map<String, Integer> map = new HashMap<String, Integer>(); map.put("a& ...

自定义Exception

public class RException extends Exception { private static final long serialVersionUID = 1L; public RException(){ super(); } public RException(String msg){ super(msg); } public RException(Throwable e){ super(e); } public RException(String msg, Throwable e){ s ...

SQL

    博客分类:
  • DB
转帖 谢谢     1) 全面接触SQL语法         http://www.cnill.com/jibing/lunwen/database/200702/lunwen_47039.shtml 2) MySql      http://www.cnill.com/jibing/lunwen/database/200702/lunwen_46954.shtml
  JavaScript 参考教程 1)    http://www.iselong.com/online/ebooks/javascript/ 2)    http://www.lib.tsinghua.edu.cn/chinese/INTERNET/JavaScript/ 3) web开发    http://www.pconline.com.cn/pcedu/empolder/wz/javascript/ 4) JavaScript动态网页制作宝库     http://tech.sina.com.cn/introduction/focus/javascr ...
  confirm 确认对话框:    <script type="text/javascript"> confirm("确认请按OK键?") </script>     alert 信息提示框:   <script type="text/javascript"> alert('黄河大虾'); <scrip>     prompt 输入对话框:   <script type="text/javascript& ...
转帖 谢谢 今天在用struts2实现文件下载时出现如下错误:  Servlet.service() for servlet default threw exception java.lang.IllegalArgumentException: Can not find a java.io.InputStream with the name [imageStream] in the invocation stack. Check the <param name="inputName"> tag specified for this action. at o ...
转帖 谢谢 说明:     下载是通过StreamResult类来实现,这是一个自定义结果类型,主要作用是直接向HttpServletResponse对象发送原始数据。 StreamResult假定Action会提供一个输入流的访问方法,并将这个输入流输出到响应对象中。 SteamR ...
Global site tag (gtag.js) - Google Analytics