- 博客(16)
- 收藏
- 关注
原创 weblogic后台日志输出到文件中
在startWeblogic.cmd中修改还建议将所有 system.out.println() 消息都重定向到 WebLogic 日志,以方便调试。可以指定记录这些消息的 stdout 文件。只需编辑 WebLogic Server 脚本,使 JAVA_OPTIONS 变量做以下指定: -Dweblogic.Stdout="std
2007-03-28 11:27:00
6750
原创 oracle imp还原数据
D:/oracle/ora92/bin>imp mxuser1/mxuser1 file=d:/exportAEF10.dmp buffer=64000 commit=Y full=Y
2006-06-28 12:43:00
1371
原创 Javasctipt的验证程序代码!
//by jhs//target: trim left or right space//Parameter: str //return: (str)function trimSpace(str){ return str.replace(/(^/s*)|(/s*$)/g,"");}//target: must be input//Parameter: id---the
2006-06-26 08:35:00
1546
原创 JAVA技术实现上传图片水印效果
//以下为jsp代码,注释比较齐全 out.clear(); response.addHeader("pragma","NO-cache"); response.addHeader("Cache-Control","no-cache"); response.addDateHeader("Expries",0); String FileName = "C://mone
2006-06-02 09:44:00
2016
原创 Java连接Mysql数据库代码
import java.sql.*;public class DB_base { public static void main(String[] args){ String conUrl ="jdbc:mysql://localhost:3306/test"; Connection conn=null; ResultSet rs=null; Strin
2006-05-22 16:39:00
2143
3
转载 快速上手Spring--1.收集的一些资料
快速上手Spring--1.收集的一些资料document.title="快速上手Spring--1.收集的一些资料 - "+document.title “好的开始是成功的一半”,但凡一种新的技术,开始阶段一般是很苦恼的。为了不让更多的人走同样的弯路,我这里就把学习Spring的经验与大家分享, 一起快乐一下。 Spring是什么?反正这里我不会谈论春天
2006-05-22 09:02:00
1124
转载 explorer.exe 应用程序错误 解决方案
方法一运行 输入cmd回车在命令提示符下输入for %1 in (%windir%/system32/*.dll) do regsvr32.exe /s %1记住:不要复制,1个个打上去,这个命令老兄你慢慢输 输入正确的话会看到飞快地滚屏 否则……否则失败就是没这效果。回车后慢慢等(需要点时间1-2分钟) 都运行完再打开看方法二打开记事本,将以下内容添加到记事本中,并保存为AAA.ba
2006-05-22 08:46:00
3963
转载 Eclipse及其插件介绍和下载
0.Eclipse下载EMF,GEF - Graphical Editor Framework,UML2,VE - Visual Editor都在这里下载http://www.eclipse.org/downloads/index.php 0.5.lomboz J2EE插件,开发JSP,EJBhttp://forge.objectweb.org/projects/lomboz1.MyEclipse
2006-05-16 14:51:00
899
原创 使用javasctipt查看被选择图片大小
function getFileSize (fileName) { window.oldOnError = window.onerror; window.onerror = function (err) { if (err.indexOf(utomation) != -1) { alert(fil
2006-05-16 09:11:00
817
原创 查看Tomcat资源使用情况的方法~~(愿创)
作者 : 大狼一号 帖子制作时间:2006/05/10使用软件 samurai1_2安装tomcat和jdk后,保证tomcat能正常启动修改bin目录下的catalina.bat文件查找到 " rem Guess CATALINA_HOME if not defined " 这句在这句前面加入下列代码rem set JAVA_OPTS=-Xms256m -Xm
2006-05-11 11:12:00
2205
原创 Oracle9i数据库存储和读取clob文件(PL/SQL脚本)
//先建立表 lob_example1create table lob_example1(id number(6) primary key,name varchar2(10),resume clob);//插入数据insert into lob_example1 values(1,猪,empty_clob());insert into lob_example1 values(2,狗,e
2005-04-26 11:14:00
2861
转载 常用的java测试用具列表网站
http://www.bitmechanic.com/projects/maxq/ http://www.httpunit.org/ http://www.tagunit.org/ http://www.junit.org/ http://jakarta.apache.org/jmeter/ http://jakarta.apache.org/cactus/ http://hansel.so
2005-02-04 11:45:00
1134
转载 java优秀网站收藏
有关Java的网站http://cn.sun.com/ 中国Sunhttp://javaz.3558.com/ java爱好者http://www.matrix.org.cn/ matrix 与 javawww.chinajavaworld.comhttp://expert.youkuaiyun.com/expert/faq/list_faq_index.asp?roo
2005-02-04 11:43:00
3707
原创 产生一个1-12的不重复的随机数
import java.util.ArrayList;import java.util.Random;public class Test { public static void main(String[] args) { Test test = new Test(); for ( int n = 2 ;n int[] r = test.myRand(n); System.out
2005-02-04 11:40:00
6209
原创 JDBC数据库连接的URL索引!
正确的是这样的ORACLE jdbc:oracle:thin:@localhost:1521:sidsql server jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=dbmysql jdbc:mysql://localhost:3306/db希望对你有帮助!
2005-02-04 11:36:00
1172
原创 SQLSERVER2000的jdbc驱动程序连接
一、下载SQLSERVER2000的jdbc驱动程序。在微软站点就有这个驱动程序:Window操作系统http://www.uncj.com/upload/files/ms_jdbc_setup.exe http://download.microsoft.com/download/SQLSVR2000/jdbc/2000/NT45XP/EN-US/setup.exeUnix操作系统 Mssql
2005-02-04 11:30:00
3917
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人