`
superxielei
  • 浏览: 262660 次
  • 性别: Icon_minigender_1
  • 来自: 沈阳
社区版块
存档分类
最新评论
文章列表
BugFree的7种解决方案各自的含义:By Design - 就是这么设计的,无效的BugDuplicate - 这个问题别人已经发现了,重复的BugExternal - 是个外部因素(比如浏览器、操作系统、其他第3方软件)造成的问题Fixed - 问题被修理掉了。Tester要尽可能找到这种BugNot Repro - 无法复现你这个问题,无效的BugPostponed - 是个问题,但是目前不必修理了,推迟到以后再解Won't Fix - 是个问题,但是不值得修理了,不管它吧
安装 Apache2: sudo apt-get install apache2 安装PHP模块: sudo apt-get install php5 编辑测试页:() sudo gedit /var/www/testphp.php 安装Mysql sudo apt-get install mysql-server mysqladmin -u root password db_user_password #db_user_password替换为密码 安装Mysql模块 sudo apt-get install libapache2-mod-auth-mysql sudo apt-get inst ...

DOM 写出XML

    博客分类:
  • java
String servletPath = request.getSession().getServletContext().getRealPath(""); System.out.println(servletPath); File f=new File(servletPath+"\\data.xml"); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = f ...
http://digitalbush.com/projects/masked-input-plugin/   我用的是1.2.2 $('#period').mask("99小时99分钟"); 在chrome下有效,IE6下失败。其他浏览器未测。 做一下修改。   203行:   } else if (buffer[i] == test[pos] && i!=partialPosition) {    修改为:   } else if (buffer[i] == test.charAt(pos) && i!=p ...
最近有个项目临时变换了页面,需要一个手风琴的菜单,于是决定使用Accordion来做菜单。 <div id="nav" > <h3><a href="#">系统管理</a></h3> <div> <ul> <li><a class="ui-corner-all" href="${base}/system/system/member">学生管理</a></li ...
一、用前必备 官方网站:http://bassistance.de/jquery-plugins/jquery-plugin-validation/ API: http://jquery.bassistance.de/api-browser/plugins.html 当前版本:1.5.5 需要JQuery版本:1.2.6+, 兼容 1.3.2 <script src="../js/jquery.js" type="text/javascript"></script> <s ...
java中几个常见的关于日期的问题 1. 怎样计算两个时间之间的间隔? 间隔=Date1.getTime()-Date2.getTime();得出来的是毫秒数. 除1000是秒,再除60是分,再除60是小时.............................. 记住java标准库中所有时间类都以此为基础转化的,只是他写好了一些 转化的方法给你用而已.但都离不开这个毫秒数为基础. 2. t=Calendar.getInstance();m=t.get(t.MONTH)+1;这里为什么要加一? 在java语言里,date的month的取值范围是:0~1 ...
正则表达式在字符串处理上有着强大的功能,sun在jdk1.4加入了对它的支持  下面简单的说下它的4种常用功能:查询: String str="abc efg ABC"; String regEx="a|f"; //表示a或f Pattern p=Pattern.compile(regEx); Matcher m=p.matcher(str); boolean rs=m.find();   如果str中有regEx,那么rs为true,否则为flase。如果想在查找时忽略大小写,则可以写成Pattern ...
  http://www.ibm.com/developerworks/cn/web/wa-aj-advjquery/ http://www.ibm.com/developerworks/cn/web/wa-aj-advjquery2/
以前一直是用FusionCharts Free 来做统计的图表显示,今天在逛sian的房产板块时发现了个新的图标统计插件,支持图表时间,也不知道以后能不能用上,先留下来再说。 http://teethgrinder.co.uk/open-flash-chart-2 http://code.google.com/p/ofcgwt/      
从插件中获得绝对路径: TestPlugin.getDefault().getStateLocation().makeAbsolute().toFile().getAbsolutePath()); 通过文件得到Project: IProject project = ((IFile)o).getProject(); 通过文件得到全路径: String path = ((IFile)o).getLocation().makeAbsolute().toFile().getAbsolutePath(); 得到整个Workspace的根: IWorks ...
摘要:    在开发eclipse pluin的时候,某些情况下我们需要访问eclipse workspace,例如:在插件中以编程的方式调用ant命令、访问eclipse workspace中的project等。一次在网上偶遇到本文的原创者kobye,此人正在进行jsports项目的开发,对此颇有心地,故在此行文与 众人共同探讨之。一、基础工作-在插件中以编程的方式调用ant命令:    在开发eclipse pluin的时候,某些情况下我们需要访问eclipse workspace,例如:在插件中以编程的方式调用ant命令等。    如何做到这一点? public ...
public static String toHexEncoding(Color color) { String R, G, B; StringBuffer sb = new StringBuffer(); R = Integer.toHexString(color.getRed()); G = Integer.toHexString(color.getGreen()); B = Integer.toHexString(color.getBlue()); R = R.length() == ...
取到当前工作空间的路径: Platform.getInstanceLocation().getURL().getPath()   取到在Package Explorer中选中节点的File的方法,返回File对象 public File getSelectedFile(ISelection selection) { if (!(selection instanceof StructuredSelection)) { return null; } StructuredSelection sel = (StructuredSel ...
因为项目需要一些动态的权限验证.需要根据命名空间找到类,然后反射出所有的方法做权限的验证.还希望能够动态的配置页面显示的模块. 实现的过程中遇到一个问题,如果根据namespace获得对应的action.java呢?? 找了些资料,并没有发 ...
Global site tag (gtag.js) - Google Analytics