![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java基础
前功尽弃
这个作者很懒,什么都没留下…
展开
-
Java字符串去除中文
代码如下: private static String REGEX_CHINESE = "[\u4e00-\u9fa5]";// 中文正则 @Test public void testStr() { String str = "我也不知道234你不知道weqw"; // 去除中文 Pattern pat = Pattern.comp原创 2017-05-03 14:21:39 · 16534 阅读 · 4 评论 -
JSP无法获取ModelMap里的值
刚新建了个项目,spring + springmvc + mybatis + maven,在进行页面传值时 jsp页面无法获取到ModelMap里传入的值 @RequestMapping(value="/index") public String index(ModelMap model, String name) { model.addAttribute("hell原创 2017-05-27 14:39:26 · 2966 阅读 · 0 评论