web.xml的配置 springmvc org.springframework.web.servlet.DispatcherServlet springmvc *.do 核心配置:spri...
分类:
编程语言 时间:
2014-07-31 15:53:26
阅读次数:
227
for /l %%p in (x,1,y) do @ping 192.168.1.%%p -n 1 >> c:\1.txt保存为1.bat,其中比如ping 192.168.1.1~192.168.1.255,则x为1,y为255。输出在C盘下面1.txt。每次ping一个包。然后再在命令行下面运行...
分类:
其他好文 时间:
2014-07-31 12:14:46
阅读次数:
421
#include #include #include #include #include #include #include #include #include #include "rio.h"#include #include #define ERR_EXIT(m) \ do { \ ...
分类:
编程语言 时间:
2014-07-31 02:35:06
阅读次数:
411
1.迭代服务器模型 1.1 迭代服务器是处理多个请求时一种最简单直接的思路,即使用while循环,它不具有并发能力,即必须一个一个的处理客户的请求。 1.2 程序示例。#include "def.h"int listenfd_init(); //返回一个处于监听状态的套接字描述符void do...
分类:
编程语言 时间:
2014-07-31 02:18:25
阅读次数:
365
Modern flowchart for mobile, server, and etc.. communicationThis has something to do with these source codes:For the server side,https://github.com/xr...
Piggy-Bank
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Before ACM can do anything, a budget must be prepared and the necessar...
分类:
其他好文 时间:
2014-07-30 17:26:54
阅读次数:
202
过滤器,是在java?web中,你传入的request,response提前过滤掉一些信息,或者提前设置一些参数,然后再传入servlet或者struts的?action进行业务逻辑,比如过滤掉非法url(不是login.do的地址请求...
分类:
其他好文 时间:
2014-07-30 15:06:34
阅读次数:
165
原理shell代码如下:#!/bin/sh
cat../androidsrc|whilereadline
do
ip=$(echo$line|awk‘{print$1}‘)
srcdir=$(echo$line|awk‘{print$2}‘)
destdir=$(echo$line|awk‘{print$3}‘)
user=$(echo$line|awk‘{print$4}‘)
port=$(echo$line|awk‘{print$5}‘)
build=$(echo$line|awk‘{pr..
分类:
其他好文 时间:
2014-07-30 12:30:44
阅读次数:
337
多进程 1 #include "network.h" 2 3 void do_service(int peerfd) 4 { 5 char recvbuf[1024] = {0}; 6 int ret; 7 while(1) 8 { 9 ret = ...
分类:
系统相关 时间:
2014-07-30 12:02:53
阅读次数:
328
一 Words 1 foible 小缺点,小癖好 e.g. You could do Ebay,or dating or indulge 纵容,沉溺于another foible of choice.你可以上eBay购物,或者约会,或者纵容另外一个弱点。 2 obnoxious 讨厌的 eg. My...
分类:
其他好文 时间:
2014-07-30 07:39:03
阅读次数:
274