摘要:引入org.apache.commons.lang.StringEscapeUtils 包System.out.print(StringEscapeUtils.escapeHtml(""));结果显示<body></body>转义成功
阅读全文
posted @ 2015-01-20 09:30
|
|||
01 2015 档案
摘要:引入org.apache.commons.lang.StringEscapeUtils 包System.out.print(StringEscapeUtils.escapeHtml(""));结果显示<body></body>转义成功
阅读全文
posted @ 2015-01-20 09:30
摘要:Junit提供 单元测试,多组参数的单元测试,打包单元测试。比如你写了一个Calculator类:package test_junit;public class Calculator { private static int result; // 静态变量,用于存储运行结果 public...
阅读全文
posted @ 2015-01-06 17:52
|
|||