自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(38)
  • 资源 (51)
  • 收藏
  • 关注

转载 ip_conntrack_max问题

-允许的最大跟踪连接条目,在这篇文档中我们叫作CONNTRACK_MAX -存储跟踪连接条目列表的哈西表的大小,在这篇文档中我们叫做HASHSIZE(下面是这个结构的描述) CONNTRACK_MAX是在内核内存中netfilter可以同时处理的“任务”(连接跟踪条目)。 一个跟踪连接的条目是存储在一个链接起来的列表的一个节点上,每个列表都是一个哈西表的元素。因此每个哈西表的条

2013-01-31 15:11:55 2200

转载 ip_conntrack: table full, dropping packet.

原本 Linux NAT 用得好好的, 沒想到幾天前卻出現了無法上網的情況, 而系統記錄也出現了這樣的訊息:ip_conntrack: table full, dropping packet.後來才知道, Linux NAT 的 ip_conntrack 模組會記錄 tcp 通訊協定的 established connection 記錄, 而且預設 timeout 時間長達五天 (

2013-01-31 15:08:59 563

转载 _max和hash表的关系及调整

这里我们可以调整两个参数:-允许的最大跟踪连接条目,在这篇文档中我们叫作CONNTRACK_MAX-存储跟踪连接条目列表的哈西表的大小,在这篇文档中我们叫做HASHSIZE(下面是这个结构的描述)CONNTRACK_MAX是在内核内存中netfilter可以同时处理的“任务”(连接跟踪条目)。一个跟踪连接的条目是存储在一个链接起来的列表的一个节点上,每个列表都是一个哈西表的

2013-01-31 15:08:32 811

转载 iptables ip_conntrack_max 调整

一、概念====================-允许的最大跟踪连接条目:CONNTRACK_MAX(默认值是 2^16=65536 )-存储跟踪连接条目列表的哈西表的大小:HASHSIZE-每个哈西表的条目(叫一个bucket),包含了一个链接起来的跟踪连接条目-哈希表大小HASHSIZE,表现为 条目bucket的多少,在iptables启动时在日志中会显示。图表形象解

2013-01-31 15:07:49 742

转载 switch ip & mac binding

注:IP地址与MAC地址的关系: IP地址是根据现在的IPv4标准指定的,不受硬件限制比较容易记忆的地址,长度4个字节。而 MAC地址却是用网卡的物理地址,保存在网卡的EPROM里面,与硬件有关系,比较难于记忆,长度为6个字节。   虽然在TCP/IP网络中,计算机往往需要设置IP地址后才能通讯,然而,实际上计算机之间的通讯并不是通过IP地址,而是借助于网卡的MAC地址。IP地址

2013-01-16 23:50:28 768

转载 SamlSsoClient

// Copyright (C) 2009 Google Inc.//// Licensed under the Apache License, Version 2.0 (the "License");// you may not use this file except in compliance with the License.// You may obtain a copy

2012-12-04 08:25:50 1075

转载 Resolve an artifact with OpenSAML(search)

OSTwoUserManJavaSOAPClientExampleSkip to end of metadataAdded by [email protected], last edited by [email protected] on Jan 21, 2010  (view change)show

2012-12-04 08:23:10 1625 1

转载 Redirect in response to POST transaction

Redirect in response to POST transactionFirst version, Aug 2000.Updated Jan 2002, Oct 2004; minor tweaks at the turn of 2005-6.Comments would still be very welcome.Quick links to Summary and

2012-12-04 00:59:26 1397

转载 用POST方式 重定向

用POST方式 重定向在项目里,如果发生异常,我会需要重定向到一个指定的页面去告诉别人出问题了。这个时候一般我们都是用response.sendRedirect(url?mesage=xxxx);这是GET方式的。如果我们要以POST方式重定向时,找了一下,发现没有现成的东西,可以办得到。这里要自己写一个方法去实现:httpClient.javaimport java.io.IOExc

2012-12-04 00:55:20 14174 1

转载 A SOAP Example in Java

A SOAP Example in JavaYou can use SOAP with Java by using Web services, but doing so is more advanced than the Java work you've already seen in this book. In this example, you're going to use Java s

2012-11-27 23:27:32 1049

转载 saml example

OpenSAML ExamplesWill ProvostAugust 14, 2009In this article I present a few simple examples of managing SAML 2.0 content using the OpenSAML library, version 2.2.3. I have found OpenSAML to

2012-11-23 01:01:19 1617 1

转载 Struts 2 File Upload and Save Tutorial with Example

Struts 2 Tutorial: Struts 2 File Upload and Save Tutorial with Example01.19.2010 EmailTweet inShareViews: 51070 Tweet0inShareWelcome to Part-6 of 7-part series o

2012-06-07 00:10:06 841

转载 浅谈如何实现JSP上传图片无组件化

浅谈如何实现JSP上传图片无组件化2009-07-07 15:07 329087553 51CTO论坛 我要评论(3) 字号:T |T用户通过网页像提交参数一样向服务器上传图片,这在JSP应用中很常用,这里将用一个简单的方法,通过以字符串的形式获取用户提交的图片,再把图片的字符形式转换成文件输入流。AD:从JSP页使图片以JPEG编码后存储在指定文件夹中。这

2012-06-07 00:06:51 624

转载 jsp图片上传

1.开发环境: 1)eclipse3.2+tomcat5.5; 2)创建dynamic web project; 3)下载:Commons FileUpload 可以在http://jakarta.apache.org/commons/fileupload/下载附加的Commons IO  可以在http://jakarta.apache.org/commons/io/下载

2012-06-07 00:03:31 1833

转载 struts2 分页

public List getList(int pageSize, int pageNow) {//获取分页数据List list = * ;//我用的sqlserverString sql = "select top 10 * from testwhere username like '%badpeas%' and id not in (select top 0 id from t

2012-06-06 23:50:52 1866

转载 新闻发布系统

一个完整的新闻发布系统关键字:JSP、Java、新闻发布环境:Tomcat 5.5.7 + J2SE 5.0 + PostgreSQL 8.0我将分几个步骤完成对一个新闻发布系统的构建,来理解JSP的一些基本使用方法!首先我将先介绍这个新闻发布系统的基本结构:index.jsp:管理员登陆界面check.jsp:验证管理员身份main.jsp:管理员添加新闻的页面p

2012-06-06 23:41:51 1435

转载 css button

顶1 踩首先来看看效果图:HTML 代码就这么简单:view sourceprint?1ahref="#"class="button green">buttona>2ahref="#"class="button blue">buttona>

2012-05-21 10:38:11 632

原创 android ui

转自:http://www.eoeandroid.com/forum.php?mod=viewthread&tid=103147&page=1&extra=#pid1075488最近,有点空闲的时间就拿QQ登录界面来模仿练手,做了个简单的登录界面。界面一般般吧,不算很漂亮,现在拿出来分享,希望大家一起学习与进步。有什么不足之处,请各位大侠多多赐教,谢谢。这个界面涉及到L...

2012-05-08 23:40:59 137

转载 android table

Multicolumn ListView in AndroidFebruary 15, 2009, 11:34 pmEver since I started programming on the Android platform, I have been wondering when the SDK would include a ready-made multicol

2012-04-23 23:58:03 545

转载 android datagrid

package datagridemo.test;import android.app.Activity;import android.content.Context;import android.os.Bundle;import android.widget.ArrayAdapter;import android.widget.GridView;import androi

2012-04-23 14:54:48 904

转载 android datagride

book.javapackage com.dgrid;   publicclassBook{      String title;     String author;       publicBook(String title,String author){          this.title= title;         this.auth

2012-04-23 14:54:01 490

转载 android 四大组建

本帖最后由 qixing123 于 2011-12-7 17:16 编辑 本文参与:友盟—安卓巴士Android开发原创教程大赛转自:http://www.apkbus.com/android-18204-1-1.html首先感谢安卓巴士 和友盟办的这个活动,这个文章主要是讲Android开发的四大组件,本文主要分为一、Activity详解二、Service详解三、

2012-04-23 14:40:35 1244

转载 android wifi

http://www.eoeandroid.com/thread-161697-1-1.htmlWIFI是无线通信协议,可以允许手机直接连接到无线网络。在现在3G资费还比较贵的情况下,WIFI对于手机来说是很重要的,我们可以很方便的下载软件,音乐等资源。Android手机必须要有WIFI网卡才能支持WIFI。Android应用程序有时候需要对WIFI网卡进行操作,从而操作W

2012-04-23 14:36:25 571

原创 android布局相关网站

Android User Interface Design: Frame LayoutsAndroid 开发之旅:view的几种布局方式及实践 - 吴秦 - 博客园Android User Interface Design: Building a ListView Application新浪微博布局学习——活用RelativeLayout - Android - mobile

2012-04-22 22:23:02 363

转载 activity 跳转

Activity跳转与传值,主要是通过Intent类来连接多个Activity,以及传递数据。 Intent是Android一个很重要的类。Intent直译是“意图”,什么是意图呢?比如你想从这个Activity跳转到另外一个Activity,这就是一个意图。Intent类在Android系统中的作用很大,在此不详细说了,后面有文章介绍! Activity跳转,无返回结果

2012-04-19 11:26:29 394

转载 Android WebView example

转自:http://www.mkyong.com/android/android-webview-example/Android WebView examplePublished: February 23, 2012 , Updated: February 23, 2012 , Author: mkyong

2012-04-18 23:40:44 668

转载 cas入门文章

一个简单实际可用的CAS配置日志:http://www.iteye.com/topic/78490Tomcat SSL配置大全:http://www.iteye.com/topic/78274Yale CAS入门配置:http://iroyce.iteye.com/blog/101876CAS项目实践:http://www.iteye.com/topic/319014

2012-04-17 23:11:48 394

转载 Tomcat SSL Configuration HOW-TO

http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html#ConfigurationThe Apache Tomcat 5.5 Servlet/JSP ContainerSSL Configuration HOW-TOTable of ContentsQuick StartIntroductio

2012-04-17 22:53:13 1126

转载 keytool - Key and Certificate Management Tool

keytool - Key and Certificate Management ToolManages a keystore (database) of private keys and their associated X.509 certificate chains authenticating the corresponding public keys. Also manages ce

2012-04-17 22:49:26 1401

转载 Axis2 Integration with the Spring Framework

Axis2 Integration with the Spring FrameworkThis document is a guide on how to use Axis2 with the Spring FrameworkContentIntroductionConfiguring Axis2 to be Spring AwareProgramming ModelS

2012-04-16 12:54:38 526

转载 Apache Axis2 Installation Guide

Apache Axis2 Installation GuideThis document provides information on Axis2 distribution packages, system prerequisites and setting up environment variables and tools followed by detailed instruction

2012-04-16 12:53:23 637

转载 JAX-WS Guide

JAX-WS GuideTable of ContentsIntroduction to JAX-WSIntroduction to JAXBDeveloping JAX-WS Web servicesFrom a JavaBean        (bottom-up)From a WSDL document        (top-down)Packaging and

2012-04-16 12:52:39 4062

转载 axis quirk start

Axis2 Quick Start GuideThe purpose of this guide is to get you started on creating services and clients using Axis2 as quickly as possible. We'll take a simple StockQuote Service and show you some o

2012-04-16 12:41:29 458

转载 android 网络通信3

本示例以Servlet为例,演示Android与Servlet的通信。        众所周知,Android与服务器通信通常采用HTTP通信方式和Socket通信方式,而HTTP通信方式又分get和post两种方式。至于Socket通信会在以后的博文中介绍。                 HTTP协议简介:        HTTP (Hypertext

2012-04-16 07:50:26 670

转载 android 文件读写

Android开发进阶:如何读写Android文件2010-12-23 09:11 LEGEND javaeye 我要评论(0) 字号:T | TAndroid文件的运行主要需要读写四大组件的文件。本文将介绍如何读写Android文件,希望对正在进行Android开发的朋友有所帮助。AD:51CTO编者按:Android主要有

2012-04-16 07:49:55 416

转载 android 网络通信2

Android中提供的HttpURLConnection和HttpClient接口可以用来开发HTTP程序。以下是本人在学习中的总结与归纳。1. HttpURLConnection接口    首先需要明确的是,Http通信中的POST和GET请求方式的不同。GET可以获得静态页面,也可以把参数放在URL字符串后面,传递给服务器。而POST方法的参数是放在Http请求中。因此,在编程之前

2012-04-16 07:49:22 390

转载 android网络通信1

手机作为一种通讯终端(MMS),伴随着网络的升级而不断的升级换代。1995年1G问世,手机只能进行基本的语音通讯,1996-1997年2G(GSM,CDMA)及其后的GPRS,EDGE等技术的快速发展,手机开始逐渐增加了数据服务功能。2009年开始,3G在全世界开始大规模布置以及苹果创造性开发新型苹果手机。手机慢慢的变成互联网的终端,从而带动了一个新的时代--移动互联网时代。因此现代手机通常都支持

2012-04-16 07:48:22 1071 1

转载 sso1

1 什么是单点登陆      单点登录(Single Sign On),简称为 SSO,是目前比较流行的企业业务整合的解决方案之一。SSO的定义是在多个应用系统中,用户只需要登录一次就可以访问所有相互信任的应用系统。      较大的企业内部,一般都有很多的业务支持系统为其提供相应的管理和IT服务。例如财务系统为财务人员提供财务的管理、计算和报表服务;人事系统为人事部门 提供全公司人员的维

2012-04-16 07:47:20 627

资料css js 资料

资料css js 资料

2012-05-18

android icons

icon 酒店 预订 飞机票 美食 icon 酒店 预订 飞机票 美食 icon 酒店 预订 飞机票 美食

2012-05-09

Multicolumn ListView in Android

Multicolumn ListView in Android

2012-04-24

Android-TableLayout-Example

Android-TableLayout-Example Android-TableLayout-Example

2012-04-19

Android-TabLayout-Example

Android-TabLayout-Example Android-TabLayout-Example Android-TabLayout-Example

2012-04-19

Android-ListView-Example

Android-ListView-Example

2012-04-19

andorid webkit pdf

andorid webkit pdf andorid webkit pdf

2012-04-18

Android-From-Screen-To-Screen-Acticity-Example.

Android-From-Screen-To-Screen-Acticity-Example 两个activity相互跳转

2012-04-18

android webview demo

android webview demo 一个button 两个activity 一个webview

2012-04-18

android生命周期课件

android生命周期课件 讲解挺详细的

2012-04-17

android用户界面开发

很详细android用户界面开发 146页的ppt

2012-04-17

apache-maven-3.0.4

apache-maven-3.0.4

2012-04-17

axis2 1.61 bin

axis2 1.61 bin

2012-04-16

axis2 1.61 war

axis2 1.61 war

2012-04-16

axis2-eclipse-codegen-plugin-1.6.1

axis2-eclipse-codegen-plugin-1.6.1

2012-04-16

axis2-eclipse-service-plugin-1.6.1

axis2-eclipse-service-plugin-1.6.1

2012-04-16

axis2 war文件

axis2 war文件

2012-04-16

axis2 文档

axis2 文档

2012-04-16

axis2 安装文件

axis2 安装文件

2012-04-16

android服务器

android服务器

2012-04-13

jquery image slider

jquery image slider

2013-10-23

bootstrap.rar

bootstrap.rar

2013-10-18

Sublime Text

Sublime Text

2013-10-17

动态修改日志级别

动态修改日志级别

2013-06-07

windows server2003 sp2 IE8

windows server2003 sp2 IE8

2013-03-01

windows server2003 sp2 IE7

windows server2003 sp2 IE7

2013-03-01

jquery in action 中文版

jquery in action 中文版

2012-11-27

jquery in action

jquery in action

2012-11-27

Dummies.HTML.CSS.and.JavaScript.Mobile.Web.Development

Dummies.HTML.CSS.and.JavaScript.Mobile.Web.Development

2012-09-15

notepad plugin

notepad plugin

2012-06-09

新闻版面.rar

新闻版面.rar

2012-06-08

struts2 file upload

struts2 file upload

2012-06-07

简单的jsp新闻发布系统

简单的jsp新闻发布系统

2012-06-06

chrome错误提示页面

chrome错误提示页面

2012-06-05

heroku登录界面

heroku登录界面

2012-06-05

前端备忘标签

前端备忘标签

2012-06-04

理想Web倒计时器的设计与实现

理想Web倒计时器的设计与实现

2012-06-04

js 验证表单 lib

js 验证表单 lib

2012-05-27

cssss button 3d

cssss button 3d

2012-05-21

163 login button

button css 登录

2012-05-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除