2010 年文章归档
共 9 篇文章
Oracle中expdp和impdp方法总结
1.expdp 导出数据库方法 C:\Documents and Settings\Administrator>sqlplus/nolog SQL*Plus: Release 10.2.0.3.0 - Production on 星期二 11月 16 11:18:48 2010 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. SQL> conn egiweball/egiweball@webdb ; 已连接。 SQL> CREATE OR REPLACE DIRECTORY dir_dump AS 'd:/dbbak/'; --文…
2010-11-16 19:22 · Oracle · C · C++ · C# · SQL · Oracle
Eclipse查看调试jar包中的源文件
Eclipse查看调试jar包中的源文件方法如附件图: 准备工作,对你所要查看源码的jar包利用反编译工具(注:我目前使用的是jar_jad反编译工具)进行反编译,并将反编译后的src源文件打包成 src.zip,准备就绪 实际操作 操作方法:选择workspace 里面的一个项目, 点击右键---> Build Path--> configure build path --> liberaries--> 选择一个jar包,*.jar ---> 点击左侧的加号(+) ---> 展开后选择Source attachment ---> 点击右侧的 Edit 按钮---> 弹出对话框,并选择Ext…
2010-10-13 13:57 · Java · 工作 · Eclipse
cas在tomcat实现单点登录
使用cas在tomcat实现单点登录(精)2009-04-01 08:17cas是目前非常流行的企业应用SSO解决方案。本文就cas的配置及使用展开讨论,下图为cas原理: 一、软件准备: 1、apache-tomcat-6.0.18。 2、cas-server-3.3.1-release.zip(cas服务器)。 3、cas-client-2.0.11.zip。 二、配置tomcat的ssl 1、生成keystore证书 keytool -genkey -keyalg RSA -alias tomcatsso -dname "cn=localhost" -keystore server.k…
2010-10-12 16:55 · Java · Scheme · JDBC · MySQL · Tomcat · Bean
增加tomcat/Eclipse/JDK内存的方法
1.增加tomcat内存的方法 tomcat默认可以使用的内存为128MB,在较大型的应用项目中,这点内存是不够的,需要调大。 linux下,在文件{tomcat_home}/bin/catalina.sh的前面,增加如下设置: SET JAVA_OPTS=-Xms512m -Xmx1024m 表示初始化内存为512MB,可以使用的最大内存为1024MB windows下,在tomcat_home}/bin/catalina.bat的前面,增加如下设置: SET JAVA_OPTS=-Xms512m -Xmx1024m ====================================…
2010-10-12 16:48 · Java · Java · Eclipse · Tomcat · Linux · JDK
myeclipse 注册码生成代码源码
myeclipse 注册码生成代码源码 注意:注册Myeclipse的时候要先断开网络,否则可能注册不成功! 注册方法: window -> preferences -> myeclipse -> subscription 下面是一个网上流传很广的Myeclipse注册码,有效! please input register name: Valen Serial:ILR8ZC-855550-6757795735796639 please input register name: yzx Serial:lLR8ZC-855550-67656656970727084 please input re…
2010-10-12 16:31 · Java · Java · Myeclipse · J# · UP
Excel读写
要导入一个HSSF包 import org.apache.poi.hssf.usermodel.*; import org.apache.poi.poifs.filesystem.POIFSFileSystem;import java.io.FileInputStream; import java.io.FileOutputStream; public class TestReadAndWriteExcel { public static void main(String[] args) { try{ //写Excel FileOutputStream output =new FileOut…
2010-10-12 16:30 · Java · Apache · Excel
跨站脚本注入问题详解
===========================问题描述======================== 跨站脚本注入的几种形式 *****="/><script>alert(document.cookie)</script>&passwd=&ok.x=28&ok.y=6 ******="/><script>window.open(" http://www.baidu.com")</script > /document/ifr_list_managerHalfway.jsp?subFrame=managerHalfway&Page=2&Pages=2&Count=15&docsfrom…
2010-10-12 16:26 · Java · JSP · JavaScript · 脚本 · SSO · Servlet
ORA-01654: Unable to extend index %s.%s by %s in tablespace %s
ORA-01654 ORACLE表空间满了的处理办法 The tablespace the index is residing in is unable to extend. There is not enough space left either due to the datafiles being full, autoextend which is not set at datafile level or due to a disk which's full. You'll have to check the size of the datafiles attached to the …
2010-10-11 15:44 · Oracle · C · C++ · C# · Oracle
ORA-12154: TNS: 无法解析指定的连接标识符
问题======================== C:\Documents and Settings\Administrator>sqlplus egiweball/egiweball@igrp2_132.15 9.205.210 SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 10月 11 14:53:11 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. ERROR: ORA-12154: TNS: 无法解析指定的连接标识符 解决方案================…
2010-10-11 15:39 · Oracle · C · SQL Server · C++ · C# · Oracle