![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web
飘落的秋风
Java后端开发,SSM,SSH,shiro,spring-security...jQuery,angularjs,vue
展开
-
tomcat启动,查询字符串存在中括号问题,不需要转码
经常遇到前台使用get方式查询,传递复杂对象到后台的情况,需要使用到中括号,如果直接使用中括号,后台tomcat服务器不识别,需要前台进行转码 为 %5B %5D,如果使用浏览器请求,会导致浏览器再次将%转码,为了解决该问题,可以配置tomcat识别不转码的中括号,配置如下1. 如果是使用springboot方式启动,可以在application.yml增加配置server.tomcat.relaxed-query-chars: [,]2. 有的版本使用1不生效,可以增加配置类impor原创 2021-01-19 11:36:48 · 2166 阅读 · 0 评论 -
Eclipse tomcat启动web项目 报错 Removing obsolete files from server..Could not clean server ...
Eclipse tomcat启动web项目 报错 Removing obsolete files from server..Could not clean server ...原创 2017-04-01 09:57:55 · 7782 阅读 · 0 评论 -
Spring MVC 前后台国际化设置
使用Spring MVC 配置国际化,用户可以选择语言,前台后台获取国际化资源的方法:config :spring-mvc.xml<!-- 国际化 --> <bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"> ...原创 2017-03-22 10:58:30 · 1169 阅读 · 0 评论