上一页 1 2 3 4 5 6 7 8 9 ··· 44 下一页
摘要: public static void main(String[] args) { Map<String, String> map = new HashMap<>(); map.put("黑色", "30"); map.put("红色", "31"); map.put("绿色", "32"); map 阅读全文
posted @ 2020-06-27 14:52 韦邦杠 阅读(1122) 评论(0) 推荐(1) 编辑
摘要: 一般我们会在InterceptorAdapter拦截器中对请求进行验证 正常普通接口请求,request.getParameter()可以获取,能多次读取 如果我们的接口是用@RequestBody来接受数据,那么我们在拦截器中 需要读取request的输入流 ,因为 ServletRequest中 阅读全文
posted @ 2020-06-23 09:51 韦邦杠 阅读(2884) 评论(0) 推荐(0) 编辑
摘要: 使用@WebFilter注解配置springboot的过滤器的时候,如果出现过滤器不起作用的原因,有可能为: (1)当前过滤器类上要加两个注解 @Component @WebFilter(filterName="一般写类名",urlPatterns="/*") (2)启动类上要加多一个注解 @Ser 阅读全文
posted @ 2020-06-20 15:40 韦邦杠 阅读(4292) 评论(1) 推荐(0) 编辑
摘要: 解决方案: 在项目中的web.xml文件的</web-app>标签内添加如下标签 <absolute-ordering /> 阅读全文
posted @ 2020-06-04 11:57 韦邦杠 阅读(1413) 评论(0) 推荐(0) 编辑
摘要: 问题:同步、cleanup都会出现下面的提示 svn: E155017: Can't install '*' from pristine store, because no checksum is recorded for this file svn报错:“Previous operation ha 阅读全文
posted @ 2020-05-29 14:28 韦邦杠 阅读(1793) 评论(0) 推荐(0) 编辑
摘要: /home/weblogic/Oracle/Middleware/user_projects/domains/testdomain/config 2、修改createdomain.py /home/weblogic/Oracle/Middleware/wlserver/common/bin 阅读全文
posted @ 2020-05-20 09:50 韦邦杠 阅读(869) 评论(0) 推荐(0) 编辑
摘要: 大多数情况下,我们会对weblogic的domain新建立一个用户,从而用该用户来管理domain,避免多个domain之间出现加载jvm,加载jar包,加载war,加载so文件等死锁或者重复加载异常。 如果在启动weblogic的时候忘记切换用户用root启动一次后,再次用weblogic启动,就 阅读全文
posted @ 2020-05-14 10:50 韦邦杠 阅读(467) 评论(0) 推荐(0) 编辑
摘要: mybatis注解开发-动态SQL 实体类以及表结构 在mybatis-config.xml中注册mapper接口 动态查询@SelectProvider EmployeeMapper接口 package Intefaceproxy.Dyno; import java.util.List; impo 阅读全文
posted @ 2020-05-09 13:07 韦邦杠 阅读(4683) 评论(0) 推荐(0) 编辑
摘要: springboot因为是内置tomcat,所以在访问项目时无需再端口后添加项目名称,如果想要添加项目名称则需要在配置文件中添加server.context-path=/XXXXXXX;如果不起作用,是因为使用了更高版本的springboot,在新的版本中配置需改为server.servlet.co 阅读全文
posted @ 2020-05-08 15:35 韦邦杠 阅读(1704) 评论(0) 推荐(0) 编辑
摘要: Bad RequestThis combination of host and port requires TLS. 解决方案 阅读全文
posted @ 2020-05-07 11:37 韦邦杠 阅读(2236) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 44 下一页