NutzCN Logo
问答 连接拒绝,然后不停的执行一段AJAX,整个网页就死在那里
发布于 2523天前 作者 qq_09dec3d3 2659 次浏览 复制 上一个帖子 下一个帖子
标签:
17-12-25 22:21:03.459 DEBUG [http-nio-8089-exec-278] Found mapping for [POST] path=/user/getip : WorkerAction.getip(WorkerAction.java:179)
17-12-25 22:21:03.460 DEBUG [http-nio-8089-exec-278] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:03.753 DEBUG [http-nio-8089-exec-278] select * from(select row_number()over(order by __tc__)__rn__,* from(select top 1 0 __tc__,    * FROM login.dbo.iprule  WHERE '134.161.32.151.' like rtrim(ip)+'%')t)tt where __rn__ > 0 order by __rn__ 
17-12-25 22:21:19.360 DEBUG [http-nio-8089-exec-280] Found mapping for [POST] path=/user/login : WorkerAction.login(WorkerAction.java:61)
17-12-25 22:21:19.360 DEBUG [http-nio-8089-exec-280] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:19.361 DEBUG [http-nio-8089-exec-280] select * from(select row_number()over(order by __tc__)__rn__,* from(select top 1 0 __tc__,    * FROM login.dbo.worker  WHERE gh=? AND password=?)t)tt where __rn__ > 0 order by __rn__ 
    |           1 |         2 |
    |-------------|-----------|
    | 13348611439 | 123456@qA |
  For example:> "select * from(select row_number()over(order by __tc__)__rn__,* from(select top 1 0 __tc__,    * FROM login.dbo.worker  WHERE gh='13348611439' AND password='123456@qA')t)tt where __rn__ > 0 order by __rn__ "
17-12-25 22:21:19.768 DEBUG [http-nio-8089-exec-281] Found mapping for [POST] path=/user/getip : WorkerAction.getip(WorkerAction.java:179)
17-12-25 22:21:19.768 DEBUG [http-nio-8089-exec-281] Get 'workerAction'<class main.WorkerAction>
NotifyUtil::java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	at java.io.FilterInputStream.read(FilterInputStream.java:133)
	at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3393)
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
	at java.io.InputStreamReader.read(InputStreamReader.java:184)
	at java.io.BufferedReader.fill(BufferedReader.java:161)
	at java.io.BufferedReader.readLine(BufferedReader.java:324)
	at java.io.BufferedReader.readLine(BufferedReader.java:389)
	at org.netbeans.modules.web.monitor.server.NotifyUtil$RecordSender.run(NotifyUtil.java:299)

17-12-25 22:21:19.959 DEBUG [http-nio-8089-exec-277] Found mapping for [POST] path=/user/getip : WorkerAction.getip(WorkerAction.java:179)
17-12-25 22:21:19.959 DEBUG [http-nio-8089-exec-277] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:19.961 DEBUG [http-nio-8089-exec-278] Found mapping for [POST] path=/user/getqx : menuexaction.getqx(menuexaction.java:39)
17-12-25 22:21:19.962 DEBUG [http-nio-8089-exec-278] Get 'menuexaction'<class main.menuexaction>
17-12-25 22:21:19.962 DEBUG [http-nio-8089-exec-278] 	 >> Load definition name=menuexaction
17-12-25 22:21:19.962 DEBUG [http-nio-8089-exec-278] Found IocObject(menuexaction) in AnnotationIocLoader(packages=[main])
17-12-25 22:21:19.962 DEBUG [http-nio-8089-exec-278] 	 >> Make...'menuexaction'<class main.menuexaction>
17-12-25 22:21:19.962 DEBUG [http-nio-8089-exec-278] Save object 'menuexaction' to [app] 
17-12-25 22:21:19.962 DEBUG [http-nio-8089-exec-278] Load class main.menuexaction without AOP
17-12-25 22:21:19.967 DEBUG [http-nio-8089-exec-278] Get 'dao'<interface org.nutz.dao.Dao>
17-12-25 22:21:19.968 DEBUG [http-nio-8089-exec-278] SELECT * FROM login.dbo.sysmenu  WHERE qxname='管理员' or qxname is null order by PID,xh
17-12-25 22:21:20.008 DEBUG [http-nio-8089-exec-281] select * from(select row_number()over(order by __tc__)__rn__,* from(select top 1 0 __tc__,    * FROM login.dbo.iprule  WHERE '134.161.32.151.' like rtrim(ip)+'%')t)tt where __rn__ > 0 order by __rn__ 
NotifyUtil::java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(SocketInputStream.java:210)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	at java.io.FilterInputStream.read(FilterInputStream.java:133)
	at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3393)
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
	at java.io.InputStreamReader.read(InputStreamReader.java:184)
	at java.io.BufferedReader.fill(BufferedReader.java:161)
	at java.io.BufferedReader.readLine(BufferedReader.java:324)
	at java.io.BufferedReader.readLine(BufferedReader.java:389)
	at org.netbeans.modules.web.monitor.server.NotifyUtil$RecordSender.run(NotifyUtil.java:299)

17-12-25 22:21:20.223 DEBUG [http-nio-8089-exec-277] select * from(select row_number()over(order by __tc__)__rn__,* from(select top 1 0 __tc__,    * FROM login.dbo.iprule  WHERE '134.161.32.151.' like rtrim(ip)+'%')t)tt where __rn__ > 0 order by __rn__ 
17-12-25 22:21:23.083 DEBUG [http-nio-8089-exec-273] Found mapping for [POST] path=/user/getip : WorkerAction.getip(WorkerAction.java:179)
17-12-25 22:21:23.083 DEBUG [http-nio-8089-exec-273] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.229 DEBUG [http-nio-8089-exec-275] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.229 DEBUG [http-nio-8089-exec-275] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.247 DEBUG [http-nio-8089-exec-275] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.321 DEBUG [http-nio-8089-exec-273] select * from(select row_number()over(order by __tc__)__rn__,* from(select top 1 0 __tc__,    * FROM login.dbo.iprule  WHERE '134.161.32.151.' like rtrim(ip)+'%')t)tt where __rn__ > 0 order by __rn__ 
17-12-25 22:21:23.334 DEBUG [http-nio-8089-exec-281] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.334 DEBUG [http-nio-8089-exec-281] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.335 DEBUG [http-nio-8089-exec-281] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.414 DEBUG [http-nio-8089-exec-274] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.414 DEBUG [http-nio-8089-exec-274] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.415 DEBUG [http-nio-8089-exec-274] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.454 DEBUG [http-nio-8089-exec-278] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.454 DEBUG [http-nio-8089-exec-278] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.455 DEBUG [http-nio-8089-exec-278] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.495 DEBUG [http-nio-8089-exec-279] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.495 DEBUG [http-nio-8089-exec-279] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.496 DEBUG [http-nio-8089-exec-279] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.535 DEBUG [http-nio-8089-exec-277] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.535 DEBUG [http-nio-8089-exec-277] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.536 DEBUG [http-nio-8089-exec-277] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.623 DEBUG [http-nio-8089-exec-280] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.623 DEBUG [http-nio-8089-exec-280] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.624 DEBUG [http-nio-8089-exec-280] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.657 DEBUG [http-nio-8089-exec-276] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.657 DEBUG [http-nio-8089-exec-276] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.658 DEBUG [http-nio-8089-exec-276] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.693 DEBUG [http-nio-8089-exec-282] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.693 DEBUG [http-nio-8089-exec-282] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.693 DEBUG [http-nio-8089-exec-282] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.735 DEBUG [http-nio-8089-exec-275] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.735 DEBUG [http-nio-8089-exec-275] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.735 DEBUG [http-nio-8089-exec-275] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.765 DEBUG [http-nio-8089-exec-273] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.765 DEBUG [http-nio-8089-exec-273] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.766 DEBUG [http-nio-8089-exec-273] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.796 DEBUG [http-nio-8089-exec-281] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.796 DEBUG [http-nio-8089-exec-281] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.797 DEBUG [http-nio-8089-exec-281] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.827 DEBUG [http-nio-8089-exec-274] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.827 DEBUG [http-nio-8089-exec-274] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.827 DEBUG [http-nio-8089-exec-274] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.885 DEBUG [http-nio-8089-exec-278] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.886 DEBUG [http-nio-8089-exec-278] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.886 DEBUG [http-nio-8089-exec-278] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.914 DEBUG [http-nio-8089-exec-279] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.914 DEBUG [http-nio-8089-exec-279] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.915 DEBUG [http-nio-8089-exec-279] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.942 DEBUG [http-nio-8089-exec-277] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.942 DEBUG [http-nio-8089-exec-277] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.944 DEBUG [http-nio-8089-exec-277] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:23.971 DEBUG [http-nio-8089-exec-280] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:23.971 DEBUG [http-nio-8089-exec-280] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:23.971 DEBUG [http-nio-8089-exec-280] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.008 DEBUG [http-nio-8089-exec-276] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.009 DEBUG [http-nio-8089-exec-276] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.009 DEBUG [http-nio-8089-exec-276] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.035 DEBUG [http-nio-8089-exec-282] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.035 DEBUG [http-nio-8089-exec-282] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.036 DEBUG [http-nio-8089-exec-282] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.062 DEBUG [http-nio-8089-exec-275] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.062 DEBUG [http-nio-8089-exec-275] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.063 DEBUG [http-nio-8089-exec-275] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.091 DEBUG [http-nio-8089-exec-273] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.091 DEBUG [http-nio-8089-exec-273] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.091 DEBUG [http-nio-8089-exec-273] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.145 DEBUG [http-nio-8089-exec-281] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.145 DEBUG [http-nio-8089-exec-281] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.145 DEBUG [http-nio-8089-exec-281] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.172 DEBUG [http-nio-8089-exec-274] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.172 DEBUG [http-nio-8089-exec-274] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.172 DEBUG [http-nio-8089-exec-274] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.206 DEBUG [http-nio-8089-exec-278] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.206 DEBUG [http-nio-8089-exec-278] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.206 DEBUG [http-nio-8089-exec-278] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.238 DEBUG [http-nio-8089-exec-279] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.238 DEBUG [http-nio-8089-exec-279] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.239 DEBUG [http-nio-8089-exec-279] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.279 DEBUG [http-nio-8089-exec-277] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.280 DEBUG [http-nio-8089-exec-277] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.280 DEBUG [http-nio-8089-exec-277] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.309 DEBUG [http-nio-8089-exec-280] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.310 DEBUG [http-nio-8089-exec-280] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.310 DEBUG [http-nio-8089-exec-280] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.358 DEBUG [http-nio-8089-exec-276] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.358 DEBUG [http-nio-8089-exec-276] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.359 DEBUG [http-nio-8089-exec-276] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.403 DEBUG [http-nio-8089-exec-282] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.403 DEBUG [http-nio-8089-exec-282] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.404 DEBUG [http-nio-8089-exec-282] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.459 DEBUG [http-nio-8089-exec-275] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.459 DEBUG [http-nio-8089-exec-275] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.460 DEBUG [http-nio-8089-exec-275] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.499 DEBUG [http-nio-8089-exec-273] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.499 DEBUG [http-nio-8089-exec-273] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.500 DEBUG [http-nio-8089-exec-273] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.538 DEBUG [http-nio-8089-exec-281] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.538 DEBUG [http-nio-8089-exec-281] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.538 DEBUG [http-nio-8089-exec-281] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.575 DEBUG [http-nio-8089-exec-274] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.575 DEBUG [http-nio-8089-exec-274] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.576 DEBUG [http-nio-8089-exec-274] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.624 DEBUG [http-nio-8089-exec-278] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.624 DEBUG [http-nio-8089-exec-278] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.625 DEBUG [http-nio-8089-exec-278] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.658 DEBUG [http-nio-8089-exec-279] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.658 DEBUG [http-nio-8089-exec-279] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.659 DEBUG [http-nio-8089-exec-279] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.691 DEBUG [http-nio-8089-exec-277] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.691 DEBUG [http-nio-8089-exec-277] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.692 DEBUG [http-nio-8089-exec-277] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.726 DEBUG [http-nio-8089-exec-280] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.726 DEBUG [http-nio-8089-exec-280] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.727 DEBUG [http-nio-8089-exec-280] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.772 DEBUG [http-nio-8089-exec-276] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.772 DEBUG [http-nio-8089-exec-276] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.772 DEBUG [http-nio-8089-exec-276] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.802 DEBUG [http-nio-8089-exec-282] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.802 DEBUG [http-nio-8089-exec-282] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.803 DEBUG [http-nio-8089-exec-282] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.833 DEBUG [http-nio-8089-exec-275] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.833 DEBUG [http-nio-8089-exec-275] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.834 DEBUG [http-nio-8089-exec-275] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.864 DEBUG [http-nio-8089-exec-273] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.864 DEBUG [http-nio-8089-exec-273] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.865 DEBUG [http-nio-8089-exec-273] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.902 DEBUG [http-nio-8089-exec-281] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.902 DEBUG [http-nio-8089-exec-281] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.903 DEBUG [http-nio-8089-exec-281] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.931 DEBUG [http-nio-8089-exec-274] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.931 DEBUG [http-nio-8089-exec-274] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.931 DEBUG [http-nio-8089-exec-274] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:24.959 DEBUG [http-nio-8089-exec-278] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:24.959 DEBUG [http-nio-8089-exec-278] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:24.959 DEBUG [http-nio-8089-exec-278] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.016 DEBUG [http-nio-8089-exec-279] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.016 DEBUG [http-nio-8089-exec-279] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.016 DEBUG [http-nio-8089-exec-279] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.082 DEBUG [http-nio-8089-exec-277] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.082 DEBUG [http-nio-8089-exec-277] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.082 DEBUG [http-nio-8089-exec-277] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.125 DEBUG [http-nio-8089-exec-280] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.125 DEBUG [http-nio-8089-exec-280] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.125 DEBUG [http-nio-8089-exec-280] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.171 DEBUG [http-nio-8089-exec-276] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.171 DEBUG [http-nio-8089-exec-276] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.171 DEBUG [http-nio-8089-exec-276] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.212 DEBUG [http-nio-8089-exec-282] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.213 DEBUG [http-nio-8089-exec-282] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.213 DEBUG [http-nio-8089-exec-282] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.266 DEBUG [http-nio-8089-exec-275] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.266 DEBUG [http-nio-8089-exec-275] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.267 DEBUG [http-nio-8089-exec-275] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.302 DEBUG [http-nio-8089-exec-273] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.302 DEBUG [http-nio-8089-exec-273] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.303 DEBUG [http-nio-8089-exec-273] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.338 DEBUG [http-nio-8089-exec-281] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.338 DEBUG [http-nio-8089-exec-281] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.338 DEBUG [http-nio-8089-exec-281] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.376 DEBUG [http-nio-8089-exec-274] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.376 DEBUG [http-nio-8089-exec-274] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.376 DEBUG [http-nio-8089-exec-274] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.422 DEBUG [http-nio-8089-exec-278] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.422 DEBUG [http-nio-8089-exec-278] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.422 DEBUG [http-nio-8089-exec-278] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.454 DEBUG [http-nio-8089-exec-279] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.454 DEBUG [http-nio-8089-exec-279] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.455 DEBUG [http-nio-8089-exec-279] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.488 DEBUG [http-nio-8089-exec-277] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.488 DEBUG [http-nio-8089-exec-277] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.488 DEBUG [http-nio-8089-exec-277] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.520 DEBUG [http-nio-8089-exec-280] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.520 DEBUG [http-nio-8089-exec-280] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.521 DEBUG [http-nio-8089-exec-280] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.562 DEBUG [http-nio-8089-exec-276] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.562 DEBUG [http-nio-8089-exec-276] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.562 DEBUG [http-nio-8089-exec-276] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.592 DEBUG [http-nio-8089-exec-282] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.592 DEBUG [http-nio-8089-exec-282] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.592 DEBUG [http-nio-8089-exec-282] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.621 DEBUG [http-nio-8089-exec-275] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.621 DEBUG [http-nio-8089-exec-275] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.621 DEBUG [http-nio-8089-exec-275] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.652 DEBUG [http-nio-8089-exec-273] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.652 DEBUG [http-nio-8089-exec-273] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.652 DEBUG [http-nio-8089-exec-273] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.691 DEBUG [http-nio-8089-exec-281] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.692 DEBUG [http-nio-8089-exec-281] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.692 DEBUG [http-nio-8089-exec-281] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.721 DEBUG [http-nio-8089-exec-274] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.721 DEBUG [http-nio-8089-exec-274] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.722 DEBUG [http-nio-8089-exec-274] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.751 DEBUG [http-nio-8089-exec-278] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.751 DEBUG [http-nio-8089-exec-278] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.751 DEBUG [http-nio-8089-exec-278] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.780 DEBUG [http-nio-8089-exec-279] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.781 DEBUG [http-nio-8089-exec-279] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.781 DEBUG [http-nio-8089-exec-279] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.817 DEBUG [http-nio-8089-exec-277] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.818 DEBUG [http-nio-8089-exec-277] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.818 DEBUG [http-nio-8089-exec-277] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.845 DEBUG [http-nio-8089-exec-280] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.845 DEBUG [http-nio-8089-exec-280] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.845 DEBUG [http-nio-8089-exec-280] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.874 DEBUG [http-nio-8089-exec-276] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.874 DEBUG [http-nio-8089-exec-276] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.874 DEBUG [http-nio-8089-exec-276] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.911 DEBUG [http-nio-8089-exec-282] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.911 DEBUG [http-nio-8089-exec-282] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.911 DEBUG [http-nio-8089-exec-282] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:25.963 DEBUG [http-nio-8089-exec-275] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:25.964 DEBUG [http-nio-8089-exec-275] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:25.964 DEBUG [http-nio-8089-exec-275] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.002 DEBUG [http-nio-8089-exec-273] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.002 DEBUG [http-nio-8089-exec-273] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.002 DEBUG [http-nio-8089-exec-273] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.040 DEBUG [http-nio-8089-exec-281] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.040 DEBUG [http-nio-8089-exec-281] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.041 DEBUG [http-nio-8089-exec-281] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.077 DEBUG [http-nio-8089-exec-274] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.077 DEBUG [http-nio-8089-exec-274] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.077 DEBUG [http-nio-8089-exec-274] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.125 DEBUG [http-nio-8089-exec-278] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.125 DEBUG [http-nio-8089-exec-278] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.125 DEBUG [http-nio-8089-exec-278] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.157 DEBUG [http-nio-8089-exec-279] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.157 DEBUG [http-nio-8089-exec-279] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.157 DEBUG [http-nio-8089-exec-279] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.192 DEBUG [http-nio-8089-exec-277] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.192 DEBUG [http-nio-8089-exec-277] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.192 DEBUG [http-nio-8089-exec-277] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.223 DEBUG [http-nio-8089-exec-280] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.223 DEBUG [http-nio-8089-exec-280] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.223 DEBUG [http-nio-8089-exec-280] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.265 DEBUG [http-nio-8089-exec-276] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.265 DEBUG [http-nio-8089-exec-276] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.266 DEBUG [http-nio-8089-exec-276] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.298 DEBUG [http-nio-8089-exec-282] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.298 DEBUG [http-nio-8089-exec-282] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.299 DEBUG [http-nio-8089-exec-282] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.328 DEBUG [http-nio-8089-exec-275] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.328 DEBUG [http-nio-8089-exec-275] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.329 DEBUG [http-nio-8089-exec-275] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.361 DEBUG [http-nio-8089-exec-273] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.361 DEBUG [http-nio-8089-exec-273] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.362 DEBUG [http-nio-8089-exec-273] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.399 DEBUG [http-nio-8089-exec-281] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.399 DEBUG [http-nio-8089-exec-281] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.399 DEBUG [http-nio-8089-exec-281] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.427 DEBUG [http-nio-8089-exec-274] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.427 DEBUG [http-nio-8089-exec-274] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.427 DEBUG [http-nio-8089-exec-274] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.454 DEBUG [http-nio-8089-exec-278] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.454 DEBUG [http-nio-8089-exec-278] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.454 DEBUG [http-nio-8089-exec-278] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.485 DEBUG [http-nio-8089-exec-279] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.485 DEBUG [http-nio-8089-exec-279] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.485 DEBUG [http-nio-8089-exec-279] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.522 DEBUG [http-nio-8089-exec-277] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.522 DEBUG [http-nio-8089-exec-277] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.523 DEBUG [http-nio-8089-exec-277] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.549 DEBUG [http-nio-8089-exec-280] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.549 DEBUG [http-nio-8089-exec-280] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.550 DEBUG [http-nio-8089-exec-280] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.576 DEBUG [http-nio-8089-exec-276] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.577 DEBUG [http-nio-8089-exec-276] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.577 DEBUG [http-nio-8089-exec-276] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.605 DEBUG [http-nio-8089-exec-282] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.605 DEBUG [http-nio-8089-exec-282] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.605 DEBUG [http-nio-8089-exec-282] SELECT id,gh FROM login.dbo.worker  order by gh
17-12-25 22:21:26.641 DEBUG [http-nio-8089-exec-275] Found mapping for [POST] path=/user/getgh : WorkerAction.getgh(WorkerAction.java:218)
17-12-25 22:21:26.641 DEBUG [http-nio-8089-exec-275] Get 'workerAction'<class main.WorkerAction>
17-12-25 22:21:26.641 DEBUG [http-nio-8089-exec-275] SELECT id,gh FROM login.dbo.worker  order by gh

而 select * from(select row_number()over(order by tc)__rn__,* from(select top 1 0 tc, * FROM login.dbo.iprule WHERE '134.161.32.151.' like rtrim(ip)+'%')t)tt where rn > 0 order by rn
而这个SQL语句并不是我写的,我是一步步执行,并没有复合执行,就不晓得这个语句为何会产生,尽管是符合我的逻辑,奇怪了,

45 回复

那是分页sql

但问题是,我并没有这么写啊

我就很简单的 Iprule=dao.fetch(iprule.class, Cnd.wrap(String.format("'%s.' like rtrim(ip)+'%%'",ipaddr)));

fetch就是取第一条数据, 所以分页取第一页第一条, 因为sqlserver不支持limit 1等简单的分页语法. 但这不是报错的原因.

怎么会拒绝?而且导致整个网页卡住不懂

/user/getip 这个请求应该是前端代码某个死循环导致的

哦,死循环?

在前端代码里面找/user/getip

@At
        @Ok("json")
        public iprule getip(HttpSession session) throws SocketException
        {
         String ipaddr="";
         Enumeration allNetInterfaces = NetworkInterface.getNetworkInterfaces();
         @SuppressWarnings("UnusedAssignment")
         InetAddress ip = null;
        while (allNetInterfaces.hasMoreElements())
         {
           NetworkInterface netInterface = (NetworkInterface) allNetInterfaces.nextElement();
           //System.out.println(netInterface.getName());
           Enumeration addresses = netInterface.getInetAddresses();
          while (addresses.hasMoreElements())
         {
          ip = (InetAddress) addresses.nextElement();
          if (ip != null && ip instanceof Inet4Address)
           {
            ipaddr= ip.getHostAddress();
           } 
        }
        }
        
        iprule Iprule=null;        
        Iprule=dao.fetch(iprule.class, Cnd.wrap(String.format("'%s.' like rtrim(ip)+'%%'",ipaddr)));
        if(Iprule==null)
        {
            session.setAttribute("gh","");
            session.setAttribute("qx","");
            session.setAttribute("fj","");
            session.setAttribute("xm", "");
            session.setAttribute("isok",false);
            return null;
        }
        else
            return Iprule;
        
       
        }

如果是浏览器循环重定向,那应该是GET请求, 但日志里面是POST, 这种请求只能是ajax/js触发按键

没有死循环啊

看前端的代码

我吧这段断码加在JSP中,死为了防止非IP段内的用户使用,改为GET也一样

function init()
{
     var url= " ";
     if(qx==="管理员")
      {
         url="./user/getgh?gh1=all";
      }
     else
         url="./user/getgh?gh1="+gh;
$('#username').combobox({
    url:url,
    type:'get',
   
    datatype:'json',
    valueField:'id',
    textField:'gh',
    filter: function (q, row) {
        var opts = $(this).combobox("options");
        return row[opts.textField].indexOf(q) = -1;
    },
    onLoadSuccess:function()
    {
    
        //selectgh();    
     $('#username').combobox({editable:false});
     $('#username').combobox('select',gh);
    }
    /*,
    onChange:function()
    {
     $.ajax({
       url:'./user/getxm?gh1='+$("#username").combobox("getText"),
       type:'post',
       datatype:'json',
       async:false,
       success:function(data1)
       {
           $('#xm_id').val(data1.xm);
       }
            });   
    }*/
});

}

我是在<DBODY 的ONLOAD中执行的

是不是这个combobox插件不能接受后端返回null值??

后台返回NULL?不应该啊,在SQL执行结果有啊

@At
        @SuppressWarnings("UnusedAssignment")
   public Object getgh(@Param("gh1") String gh) throws UnsupportedEncodingException
   {
      gh=URLDecoder.decode(gh,"UTF-8").trim().intern();
      List<worker> user; 
       switch(gh)
       {
           case "all":
               user = Daos.ext(dao, FieldFilter.create(worker.class, "^gh|id$")).query(worker.class, Cnd.wrap(" order by gh")); 
               break;
           default:
               user = Daos.ext(dao, FieldFilter.create(worker.class, "^gh|id$")).query(worker.class, Cnd.wrap(String.format("gh='%s'",gh))); 
               break;
       }  
      return user;
   }

这是啥combobox插件?

获取GH,然后获取GH对应的XM啊

他在其他页面正常啊

其他页面也是这段代码??? 也是调用 /user/getgh ?

这个是修改密码的页面,还真只有这个页面使用

是不是onLoadSuccess导致死循环了, 注释掉试试

iprule Iprule=null; // 能不能遵循一下Java世界的规则啊, 类名要大写开头, 变量小写开头的
<%-- 
    Document   : modpassword
    Created on : 2017-11-3, 13:16:52
    Author     : pc
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>账号密码修改</title>
        <script type="text/javascript" src="./lib/jquery.js"></script> 
        <script type="text/javascript" src="./lib/jquery.easyui.min.js"></script>
        
         <script type="text/javascript" src="./lib/easyloader.js"></script>
        
        <script type="text/javascript" src="./lib/jquery.datagrid.js"></script>
        <link rel="stylesheet" href="./lib/easyui.css" type="text/css">
         <link rel="stylesheet" href="./lib/icon.css" type="text/css">
         <link rel="stylesheet" href="./lib/demo.css" type="text/css">
    
<script type="text/javascript">
    //<td><input name="username" type="text" readonly="readonly"> </td>
    //<script type="text/javascript" src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js">
    var gh='<%=session.getAttribute("gh")%>';
    var qx='<%=session.getAttribute("qx")%>';
$.ajax({
    url:'./user/getip',
    type:'post',
    datatype:'json',
    success:function(data)
    {
        if(data===null)
        {
            alert("您的IP地址没有在系统中备案,不能使用本系统,非常抱歉影响了您的工作");
            window.opener=null;
            window.open('','_self');
            window.close();
        }
    }
});
   
   
         if('<%=session.getAttribute("isok")%>'==="null"||'<%=session.getAttribute("isok")%>'==="false")
         {
           
           document.location.href("login.jsp");
         }
         
   
   function refresh()
   {                
          
        $('#imgcode_id').attr("src","codes.jsp?rnd=" + Math.random());
          //document.getElementById('imgcode').src="codes.jsp?rnd=" + Math.random();
          //document.getElementById('imgcode').src=document.getElementById('imgcode').src+"?t="+Date();
          
    } 
   setInterval("refresh()",60000); 
function modpass()
    {
    //$(function(){
       $.ajax({
           url : "./user/modpassword?username2="+$("#username").combobox("getText"),
				type: "POST",
				data:$('#modpasswordForm').serialize(),
                                dataType:"json",
				error: function(request) {
					alert("请通知管理员处理");
                                        refresh();
				},
				
				success: function(data) 
                                {
                                    
                                
                                      alert(data);                           
                                      if(data.indexOf("密码已更新成功,请返回重新登录系统")===-1)
                                         refresh();
                                      else
                                         document.location.href("login.jsp");
                                     
                                   
                                }
       });

    }

function init()
{
     var url= " ";
     if(qx==="管理员")
      {
         url="./user/getgh?gh1=all";
      }
     else
         url="./user/getgh?gh1="+gh;
$('#username').combobox({
    url:url,
    type:'get',
   
    datatype:'json',
    valueField:'id',
    textField:'gh',
    filter: function (q, row) {
        var opts = $(this).combobox("options");
        return row[opts.textField].indexOf(q) = -1;
    },
    onLoadSuccess:function()
    {
    
        //selectgh();    
     $('#username').combobox({editable:false});
     $('#username').combobox('select',gh);
    }
    /*,
    onChange:function()
    {
     $.ajax({
       url:'./user/getxm?gh1='+$("#username").combobox("getText"),
       type:'post',
       datatype:'json',
       async:false,
       success:function(data1)
       {
           $('#xm_id').val(data1.xm);
       }
            });   
    }*/
});

}
</script>

    </head>
    <body onload="init()" >
        <div >
            <form action="#" id="modpasswordForm" method="post" >
                <h4 align="center"><b>操作员<%=session.getAttribute("xm")%>,密码修改</b></h4><br>
                <table align="center" border="1">
                <tr>
                <td align="right">请输入账号:</td>
                <td><input class="easyui-combobox" id="username" name="username"  > </td>
               
                </tr>
                <tr>
                <td align="right">   用户名称:</td>
                <td><input name="xm" id="xm_id" type="text" size="21" editable="true" ></td>
                </tr>
                <tr>
                <tr>
                <td align="right">请输入原密码:</td>
                <td><input name="oldpassword" id="oldpassword_id" type="password" size="21" ></td>
                </tr>
                <tr>
                <td align="right">请输入新密码:</td>
                <td><input name="newpassword1" type="password" size="21" > </td>
                </tr><tr>
                <td align="right">请再次确认密码:</td>
                <td><input name="newpassword2" type="password" size="21" > </td>
                </tr>
                <tr>
                <td align="right">请输入验证码:</td>
                <td ><input name="yzmid" type="text" size="10" >
                    <img  name="imgcode" id="imgcode_id" alt="换一张"  border=0 src="codes.jsp" style="cursor:hand" onclick="refresh()"> </td><!--验证码当图片处理,点击可刷新-->
               </tr>
               <tr>
               <td></td>
               <td><button id="modpass_button" onclick="modpass()">确  认</button> 
                   <button id="backup" onclick="document.location.href('login.jsp');">返   回</button>
               </td>
               </tr>
               
       </table>  
        </form>    
        </div>
        
    </body>
</html>

这个前台的代码应该没有什么问题啊

注释掉onLoadSuccess钩子

来自炫酷的 NutzCN

去掉了,的确可以,我加上ONCHANGE也正常了,这个是怎么回事啊

但我觉得程序好呆板的,明明已经登录呢,不显示用户

这个原因是什么啊

程序是你写的。。。 觉得呆板证明思路还不清晰。。。

来自炫酷的 NutzCN

问题是我要灵活他就死机啊

在其他网页中我也用了ONLOADSUCCESS,没有问题啊,只是不再ONLOAD中

onloadsuccess不能再ONLOAD中使用?

这个得去找easyui的文档看

来自炫酷的 NutzCN

感觉习惯了用缩减即所得的编程方式,再用这种好痛苦的

jquery有ready方法,何须用onload

来自炫酷的 NutzCN

jQuery的ready不就是$.ajax吗? 我错了

之所以用ONLOAD,是为了保证只初始化执行

哎,头疼,怎么在COMBOBOX上显示初始用户的账号和姓名

onloadsuccess居然不能玩,那怎么玩?

先谢了,洗洗睡觉,明天再头疼算了,老大有招,请留言,谢谢

在onLoadSuccess里面走set timeout,延后回调一下咯

来自炫酷的 NutzCN

添加回复
请先登陆
回到顶部