11 2014 档案
摘要:File file = new File("F:/firefox.png");File destFile = new File("F:/pic/" + System.currentTimeMillis() + ".png");BufferedImage image = ImageIO.read(fi...
阅读全文
摘要:在页面上可以使用 ${param.moduleId}来获取在判断中也可以使用${param.moduleId == "test" ? "1":"2"}但要作为参数传递到后台的话,则要用 request.getParameter("moduleId") 而不能用 param.moduleId 或 $(...
阅读全文
摘要:public static BufferedImage setBorderRadius(BufferedImage srcImage, int radius){ int width = srcImage.getWidth(); int height = srcImage.getHeigh...
阅读全文
摘要:java对象Integer不能引用传递 /** * The value of the Integer. * * @serial */ private final int value; /** * Constructs a ne...
阅读全文
摘要:/** * 图片绘制3d效果 * @param srcImage * @param radius * @param border * @param padding * @return * @throws IOException *...
阅读全文
摘要:在IE中,使用如下代码将无法触发跳转: 点击 a作为行内元素而table是块级元素。在IE 6、7、8、9中上面链接将无法生效。js兼容处理$("a:has(table)").bind("click", function()...
阅读全文