`
文章列表
使用过滤器Web实现环形滚动条,没有具体的进度,显示的时候一直滚动。 <script type="text/javascript"> function showloaddiv() { document.getElementById('loaddiv2').style.display = 'block'; } function hiddenloaddiv() { document.getElementById('loaddiv2').style.display = 'none'; } $(document).ready(function(){ ...
使用Hibernate配置联合主键的两种方式 1.主键字段和非主键字段在同一个实体类中,Hibernate配置文件如下 <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibe ...
1.通过HttpClient发送请求登录系统 public static boolean login(HttpClient client,String httpUrl,String userId) throws HttpException, IOException{ boolean result = false; // HttpClient client = new HttpClient(); client.setTimeout(5000);//5秒超时 client.setConnectionTimeout(5000); PostMethod postMethod = n ...
Global site tag (gtag.js) - Google Analytics