Java面试题
pipi7772
这个作者很懒,什么都没留下…
展开
-
一个很不错的查询重复字符的方法
String str = "asrwofalsfjaowieurnasdfhadhiof"; while (!"".equals(str)) { String c = str.substring(0, 1);//取字符 String tempStr = str.replace(c, "");//将字符串中所有相同字符替换成"" System.out.println(c + "转载 2011-10-19 09:53:44 · 1001 阅读 · 0 评论 -
Spring与Struts整合
在web.xml添加ActionServlet action org.apache.struts.action.ActionServlet debug 2 detail 0 validate true 2 action *.do 不需要把多个struts配置文件在web.xml里,而可以集中原创 2012-06-19 18:39:51 · 260 阅读 · 0 评论