- 博客(27)
- 收藏
- 关注
转载 Web开发Struts:Session对象创建和控制
<br />关键字: session对象 <br />首先谈一下session对象在web开发中的创建以及sessionId生成并返回客户端的运行机制。<br />session对象当客户端首次访问时,创建一个新的session对象。并同时生成一个sessionId,并在此次响应中将sessionId 以响应报文的方式返回客户端浏览器内存或以重写url方式送回客户端,来保持整个会话,只要sever端的这个session对象没有销毁,以后再调用 request.getSession()时就直接根据客户端的se
2010-07-20 13:45:00 342
转载 acegi流程分析之一《Acegi 中的HttpSessionEvent 监听机制 窥视Acegi的 工作流程》
<br />http://blog.csdn.net/dancewing/archive/2006/08/17/1076606.aspx<br /> acegi流程分析之一《Acegi 中的HttpSessionEvent 监听机制 窥视Acegi的 工作流程》 收藏 <br />先推荐一下SpringSide,写得有点乱,欢迎指正错误。msn:qian_bj@hotmail.com<br /><br />--------------------------------------------------
2010-07-20 13:44:00 822
原创 Eclipse 中文变英文
<br />中文SVN变英文:configuration/config.ini 追加osgi.nl=en_US<br /> <br />中文Eclipse变英文:eclipse.ini 追加-Duser.language=en
2010-07-06 09:04:00 827
原创 PD
Dim excelFileWholePathDim mdl the current modelexcelFileWholePath="D:/JOB/LHXY資料/财务报表库/公司类客户旧版非合并财务报表导入模板.xls"Set mdl = ActiveModelIf (mdl Is Nothing) Then MsgBox "There is no Active Model"End I
2010-04-29 16:50:00 730
原创 Orcale树
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <!-- /* Font
2009-08-27 16:07:00 319
原创 SQLPLUS辅助bat
@echo onif "%OS%" == "Windows_NT" SETLOCALREM ************************************************** REM notify:REM LOGIN_USR:UserName To LoginInREM LOGIN_PWD: PassWord Of User REM
2009-08-24 15:27:00 702
原创 启动tomate和mysql
@echo offif "%OS%" == "Windows_NT" setlocalset PROGRAMROOT=%cd%if exist "%PROGRAMROOT%/jre" goto okJREHome:okJREHomeset JRE_HOME=%PROGRAMROOT%/jreif exist "%PROGRAMROOT%/mysql
2009-08-24 14:46:00 374
原创 批量删除Orcale数据库用户表
SET SERVEROUTPUT ONDECLARE -- step 1: declare the variables v_product_name varchar(100); v_product_count integer:=0; -- step 2: declare the cursor CURSOR cv_product_cursor IS
2009-08-24 13:44:00 908
原创 IP消息直送
@echo off:beginrem net start messengerset TargetIP=192.168.0.216echo 请输入要向【%TargetIP%】发送的消息set /p MSG=net send %TargetIP% %MSG%goto begin
2009-08-21 16:59:00 331
原创 JavaScript For EmEditor
var TalkSoftName="TalkSoft.txt";docs = new Enumerator( editor.Documents );for( ; !docs.atEnd(); docs.moveNext() ){ doc = docs.item(); if(doc.Name==TalkSoftName){ doc.selection.Sele
2009-08-11 16:08:00 664
原创 JavaPing
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class JavaPing{ public static void main(String[] args) { try { Process p = Runtime.getR
2009-07-08 17:34:00 739 1
原创 重写DataGridView
//#===========================================================================////# //# 类名称 : MyDataGridView//# 机能概要 : 重写DataGridView//# 作成者 : //# 做成日
2009-07-07 14:14:00 1855
原创 BoLoader
//#===========================================================================////#//# 类名称 : BoLoader//# 机能概要 : 解耦//# 作成者 : 王晓光//# 做成日 : 2009/07/01//# 版本
2009-07-06 14:29:00 489
原创 继承重写 System.Windows.Forms.DataGridTextBoxColumn类
/*********************************************************** * 概要:继承重写 System.Windows.Forms.DataGridTextBoxColumn类 * 创建人:王晓光 * 创建时间:2009/3/27 **********************************************************
2009-07-06 14:21:00 599
原创 重写DataGridView
//#===========================================================================////# //# 类名称 : MyDataGridView//# 机能概要 : 重写DataGridView//# 作成者 : //# 做成日 :
2009-07-06 14:01:00 1012
原创 日期控件的DataGrid简易模仿
DataTable dt = new DataTable(); DataColumn dc1 = new DataColumn("Sunday"); DataColumn dc2 = new DataColumn("Monday"); DataColumn dc3 = new DataColumn("Tuesday");
2009-07-06 11:02:00 418
原创 子画面给父画面传值
private void btn_Click(object sender, System.EventArgs e) { Child frmChild = new Child (); frmChild .ShowDialog(); //获取产品选择画面的返回值 this.txt_USER
2009-07-01 17:37:00 940
原创 EXCEL创建菜单栏项目
Public Sub CreateMenu() Dim myType As Variant 项目类别 myType = MsoControlType.msoControlButton 按钮 myType = MsoControlType.msoControlEdit 文本框 myType = MsoCont
2009-06-11 10:30:00 514
原创 C# Orcale 简易封装
using System;using System.Collections.Generic;using System.Text;using System.Data.OracleClient;using Systool.com.constant;using System.Data;using System.Collections;namespace Systool.c
2009-06-03 14:05:00 729
原创 C#操作EXCEL基类
using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Windows.Forms;using Systool.com.util;using Systool.com.constant;using Excel=Microsoft.Office.
2009-06-03 14:00:00 443
原创 子画面中操作父画面
//父画面中new Fr_OKeyDefinition(formbean).ShowDialog(this);//字画面中((父画面类型CLASS)(this.FindForm().Owner))
2009-05-22 17:05:00 572
原创 配置零时环境变量
@echo offif "%OS%" == "Windows_NT" setlocalset PROGRAMROOT=%cd%if exist "%PROGRAMROOT%/jre" goto okJREHome:okJREHomeset JRE_HOME=%PROGRAMROOT%/jreif exist "%PROGRAMROOT%/mysql-5.1.29/bin//mysqld.exe"
2009-05-22 15:15:00 426
原创 C# 下拉框事件捕获
private void dgvTableFields_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { if (e.Control is DataGridViewComboBoxEditingControl
2009-05-22 15:13:00 2476
原创 DataGridViewComboBox数据源设置
利用对象的指针赋值性 DataGridViewComboBoxColumn cob1 =(DataGridViewComboBoxColumn)this.dgvTableFields.Columns["Column3"]; cob1.DataSource = 数据源; cob1.DisplayMember = "lebal";
2009-05-20 10:48:00 760
原创 连接Oracle数据库
using System;using System.Collections.Generic;using System.Text;using System.Data.OracleClient;using Systool.com.constant;using System.Data;using System.Collections;namespace Systool.com.util{ /**
2009-05-20 10:43:00 364
原创 DataGridView下拉框事件的捕获和处理
private DataGridViewComboBoxEditingControl dataGridViewComboBox = null;//捕获事件private void dgvTableFields_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) {
2009-05-20 10:40:00 1536 2
原创 字符判断
Public Function IsNumeric(Str As Variant) As Boolean NULL If Information.IsNull(Str) Then IsNumeric = False Exit Function End If EMPTY If Information.IsEmpty(Str)
2009-04-24 14:16:00 357
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人