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