摘要:
spring.xml<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema 阅读全文
摘要:
1 <filter> 2 <filter-name>encoding</filter-name> 3 <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> 4 <init-param> 阅读全文
摘要:
1 <form action="${pageContext.request.contextPath}/e/t1" method="post">//需要加根路径/e/t1之前加项目路径 2 <input type="text" name="name"> 3 <input type="submit"> 阅读全文
摘要:
第一种 : 通过ModelAndView 1 public class ControllerTest1 implements Controller { 2 3 public ModelAndView handleRequest(HttpServletRequest httpServletReques 阅读全文
摘要:
头尾快速跳转 编辑 vim /etc/vim/vimrc 想要回到头部和尾部 到达文档底部[G] 到达文档头部[gg] 阅读全文
摘要:
在 /etc/vim/vimrc 输入vim vimrc 在最后填 高亮 syntax on 显示行数 set nu 阅读全文
摘要:
出现这个错误的原因可能有两个: 1.当前用户的权限不足; 2.此文件可能正被其他程序或用户使用。 一般错误原因都是前者,解决方案是在使用vi命令打开文件时,前面加上sudo来临时提供管理员权限,比如使用命令“sudo vi vimrc”打开编辑文件。 阅读全文