- 博客(6)
- 问答 (2)
- 收藏
- 关注
原创 BaseServlet
在访问servlet的时候,如果不想每一次都去写doget()和dopost()方法,我们可以写一个基础类,然后servlet可以继承这个基础类,然后去做相应的操作。import java.io.IOException; import java.lang.reflect.Method; import javax.servlet.ServletException; import jav
2017-08-13 16:05:35
276
转载 通过putty连接新装的centos7的时候,没有通过公钥也连接上了
连接的时候提示:“The server's host key is not cached in the registry.You have no guarantee that server is the computer you think it is.the server's key fingerprint is: 1024 56:78:90:ab:56:78:90:ab:56:78:9
2016-11-16 13:56:17
2360
转载 Java多线程生产者和消费者的例子
class BoundedBuffer { final Lock lock = new ReentrantLock();//锁 final Condition notFull = lock.newCondition(); //生产 final Condition notEmpty = lock.newCondition(); //消费 final Obje
2016-11-12 21:48:19
224
原创 Oracle中通过distinct为什么过滤不了重复的数据?
Oracle中通过distinct无法过滤关联查询出来的数据,这个查询是关联了很多子查询.select distinct sys_guid(),........from .......只能通过group by来进行过滤select distinct sys_guid(),........fr
2016-11-03 14:15:42
6015
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人