`
cobble19
  • 浏览: 107075 次
  • 性别: Icon_minigender_1
  • 来自: 合肥
社区版块
存档分类
最新评论
文章列表
说明:为了使用dhtmlx的Tree控件,动态生成所需的xml文件,通过一个父子关系的节点拼出来。 引用只是为了参考 tag 标签(XMLForTreeTag.java) import java.io.IOException; import java.lang.reflect.Method; import java.util.List; import java.util.logging.Level; import java.util.logging.Logger; import javax.servlet.jsp.JspException; import javax.servle ...
java.net.URL url = Thread.currentThread().getContextClassLoader() .getResource("struts2ejb3/jndi.properties"); Properties props = new Properties(); props.load(url.openStream());
1.js实现图片等比例缩放 <script language="JavaScript" type="text/javascript"> <!-- 根据FitWidth,FitHeight等比例缩放ImgD function DrawImage(ImgD,FitWidth,FitHeight){ var image=new Image(); image.src=ImgD.src; if(image.width>0 && image.height>0){ ...
Two JVM options are often used to tune JVM heap size: -Xmx for maximum heap size, and -Xms for initial heap size. Here are some common mistakes I have seen when using them: * Missing m, M, g or G at the end (they are case insensitive). For example, java -Xmx128 BigApp java.la ...

一些软件名称

1.Beyond Compare --比较文件 2.Balsamiq Mockups --WebUI原型设计工具 3.GUI Design Studio --GUI设计工具-http://www.carettasoftware.com 4.Fscapture(FastStone Free Capture ) --截取图片 编辑图片-http://www.cr173.com/soft/12898.html--http://download.cnet.com/FastStone-Free-Capture/3000-2192_4-10334886.html 5.ANT --打包工具 6.MAVEN - ...
ip匹配 /** * 验证requestIp是否匹配bindIp,匹配返回true,否则返回false * @param bindIp 绑定的IP * @param requestIp 待验证的IP,即登录IP * @return * @throws Exception */ public boolean validBindIp(String bindIp, String requestIp) throws Exception { //无绑定IP,则所有IP都是正确的。 ...
/** * 通过HttpServletRequest返回IP地址 * @param request HttpServletRequest * @return ip String * @throws Exception */ public String getIpAddr(HttpServletRequest request) throws Exception { String ip = request.getHeader("x-forwarded-for"); ...
Global site tag (gtag.js) - Google Analytics