spring mvc
石大菜鸟
这个作者很懒,什么都没留下…
展开
-
spring mvc获取到的参数附带特殊符号,接收后被转义的处理方法
WEB开发时,在前端通过get / post 方法传递参数的时候 如果实参附带特殊符号,后端接收到的值中特殊符号就会被转义例如该请求: http://localhost:10001/demo/index.do?name=张三(1)注:中文()不会出现此种情况 后台就收到的实际 name 值为: 张三(1)(其实为html中 ( 符...转载 2018-05-08 10:03:32 · 19112 阅读 · 2 评论 -
springmvc 如何读写properties文件
1、在spring.xml里加上这个配置<bean id="propertyPlaceHolderConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="systemPropertiesModeName" ...翻译 2018-05-08 15:05:10 · 4722 阅读 · 1 评论