- 浏览: 10928 次
- 性别:
- 来自: 成都
最新评论
文章列表
java.sql.SQLException: null, message from server: "Host 'xxx' is not allowed to connect to this MySQL server"编程常见错误 2011-01-15 10:59:22 阅读12 评论0 字号:大中小 订阅 .
java.sql.SQLException: null, message from server: "Host 'xxx' is not allowed to connect to this MySQL server":
表示该对象不是远 ...
Java代码
1. Map<String,String> map=new HashMap<String,String>();
2. map.put("username", "qq");
3. map.put("passWord", "123");
4. map.put("userID", "1");
5. map.put("email", "qq@qq.com" ...
grep
<script type='text/javascript' src="/jquery.js"></script>
<script type="text/javascript">
$().ready(
function(){
var array = [1,2,3,4,5,6,7,8,9];
var filterarray = $.grep(array,function(value){
return value > 5;//筛选出大于5的
...
function goTop(acceleration, time) {
acceleration = acceleration || 0.1;//加速度 acceleration
time = time || 15;//时间间隔
var x=0,y=0;
if (document.documentElement) {
x = document.documentElement.scrollLeft|| 0;
y = document.documentElement.scrollTop || 0;
}
var speed = 1 + acceleration;//滚动速度 ...
package com.eaie.system;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.PrintWriter;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Enumeration;
import java.util.Set;
import javax.servlet.RequestDispatcher;
import ...
<script type="text/javascript">
var els = document.getElementsByTagName("li")
for(var i=0,len=els.length; i<len; i++){
(function(i){
els[i].onclick = function(){
alert(i)
}})(i)
}
</script>