2017年10月27日

摘要: 1.修改tomcat 的Server Location 选择第一项 2.修改web.xml 注意不要用 classpath:*.xml 这样springMVC.xml 会加载两次 阅读全文
posted @ 2017-10-27 17:42 梦回大唐886 阅读(301) 评论(0) 推荐(0)
摘要: newLine 方法会调用系统的换行符。 不同系统的换行符: windows --> \r\n linux --> \r mac --> \n 我们一般开发是在 windows 下开发,而服务器一般情况下都是 linux。 如果我们使用 newline 函数换行,在本机测试的时候,因为是 windo 阅读全文
posted @ 2017-10-27 17:36 梦回大唐886 阅读(340) 评论(0) 推荐(0)

导航