
web
一叶扁舟3
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
设计模式-模板模式
1.public interface TestTemplate { Response doSomeThing(); } 2. `public abstract class SayHelloAb implements TestTemplate { @Override public Response doSomeThing() { log.info(“Hello”); doAnother(); return null; } protected abstract Response doAnother(); }原创 2021-07-20 10:48:24 · 193 阅读 · 0 评论 -
Xml如何在没有外网情况下编写时出现提示
原创 2018-09-29 12:31:27 · 195 阅读 · 0 评论 -
请求乱码处理
1.通用方法 /String username=request.getParameter(“username”); System.out.println(“解决之前:username=”+username); //通用的解决方式,无论get还是post都适合 byte[] bs=username.getBytes(“iso8859-1”); username=new String(bs,“utf-...原创 2018-09-29 15:21:51 · 1371 阅读 · 0 评论