项目用了DWZ,和SSH,当有同一账户在不同客户端登录时该如何在项目上做修改使得项目能结合DWZ弹出超时,跳转到登录页面呢,我是用了struts的拦截器先自定义一个拦截器,代码如下。先在开头定义一个hashmap这个hashmap的作用主要在于每次登录时记录登录的session,因为每个客户端登..
分类:
编程语言 时间:
2014-07-30 15:03:14
阅读次数:
209
原理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
Xbrowser 使用xdcmp协议通过图形化桌面远程连接到linux,xftp 使用SSH协议传送文件到linux服务器,xshell 通过SSH终端协议连接到linux进行字符界面管理,Xstart 通过xstartsample图形化界面连接到lin...
分类:
其他好文 时间:
2014-07-30 00:33:02
阅读次数:
356
find . -name "*.c" | xargs grep -H "hello"在当期目录下查找含有hello且后缀名为.c的文件ps ax | grep "sleep"当前正在运行的进程中是否含有sleep这个进程!!上次执行的命令cd -跳回上次进入的目录ssh jack@123.123.1...
分类:
系统相关 时间:
2014-07-29 20:56:32
阅读次数:
317
首先我们需要下载这个工具下载地址http://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library#Downloads1下载的文件内容,请注意针对你使用的powershell版本下载相应的的版本,有支持powershell2.0以及支持powershell3.0和4.0。2检测一下你的系统powe..
分类:
系统相关 时间:
2014-07-29 18:22:22
阅读次数:
299
RedhatorFedora Core:/var/log/secure#Mandrake,FreeBSDorOpenBSD:/var/log/auth.log#SuSE:/var/log/messages#Mac OS X(v10.4 or greater):/private/var/log/asl...
分类:
系统相关 时间:
2014-07-29 17:41:32
阅读次数:
621
ssh整合 这个错误找了好久。Hibernate java.lang.NoSuchFieldError: INSTANCEat org.hibernate.type.BasicTypeRegistry.(BasicTypeRegistry.java:94)用的hibernate3.6.7在网上找到解...
分类:
编程语言 时间:
2014-07-29 17:06:12
阅读次数:
226
How to do SSH Tunneling (Port Forwarding) In this post we will see how ssh works?, what is SSH tunneling? what is important of ssh tunnels and how to ...
分类:
其他好文 时间:
2014-07-29 17:04:22
阅读次数:
576
SSH Tunneling Explained Recently I wanted to set up a remote desktop sharing session from home pc to my laptop. While going through the set up guide I...
分类:
其他好文 时间:
2014-07-29 16:55:54
阅读次数:
386
百度富文本web编辑器UEditor1.3上传图片附件等问题...
分类:
其他好文 时间:
2014-07-29 14:42:38
阅读次数:
259