- 浏览: 88969 次
- 性别:
- 来自: 深圳
最新评论
文章列表
test1.xml:
<?xml version="1.0" encoding="utf-8"?><?xml:stylesheet type="text/xsl" href="test3.xsl"?><root> <e1> <e1-1> <e1-1-1> 1231.23 </e1-1-1> </e1-1> <e1-2> 4564.56 </e1-2> </e1> <e2> & ...
- 2005-09-14 09:26
- 浏览 763
- 评论(0)
安装VC++ 6.0
安装VISA。该软件主页为www.ni.com
具体下载地址应为:URL ftp://ftp.ni.com/support/visa/drivers/win32/3.2/visa320full.exe,下载前可能要免费注册。
其缺省安装目录是C:\Program Files\VISA。
建立c:\gpib目录,创建JNI本地接口类:JGpib.java
##c:\gpib\JGpib.java
package org.eleaf.jni.gpib;
public class JGpib{public native int open(String gpibAddr);pu ...
- 2005-09-14 09:13
- 浏览 1113
- 评论(0)
前提:
假定已经建好数据库和资料档案库,已经配置好Management Server和监听器。
一、独立启动:
Microsoft Windows 2000 [Version 5.00.2195](C) 版权所有 1985-2000 Microsoft Corp.
#########################################################
检查监听器状态:
#########################################################
E:\>lsnrctl status
LSNRCTL for 32-bit W ...
- 2005-07-06 17:27
- 浏览 671
- 评论(0)
Microsoft Windows XP [版本 5.1.2600](C) 版权所有 1985-2001 Microsoft Corp.C:\Documents and Settings\sunshine>cd c:\mysql\binC:\mysql\bin>mysql -u root -pEnter password:ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)C:\mysql\bin>mysql -u root -p0000ERROR 2003: C ...
- 2005-03-18 17:18
- 浏览 859
- 评论(0)
Microsoft Windows XP [版本 5.1.2600](C) 版权所有 1985-2001 Microsoft Corp.C:\Documents and Settings\sunshine>cd c:\mysql\binC:\mysql\bin>mysql -u rootERROR 2013: Lost connection to MySQL server during queryC:\mysql\bin>mysqlERROR 2013: Lost connection to MySQL server during query ...
- 2005-03-18 17:16
- 浏览 1458
- 评论(0)
1,保存三个ISO文件到f:\redhat目录下. 2,解压第一个ISO文件中的dosutils目录到f:\redhat\dosutils. 3,在BIOS中设置"光盘启动",用win98安装光盘启动到DOS下. 4,进入f:\redhat\dosutils目录,键入autoboot,进入redhat安装程序. 在安装过程中有以下几点值得留意: 选择匹配的显示器型号,屏幕分辨率. 分派linux分区: /boot->100M swap->500M / ->9000M /home ->3000M 安装grub引导程序到/M ...
- 2005-03-18 17:15
- 浏览 699
- 评论(0)
系统函数:
select host_id() host_id, convert(char(13),host_name()) host_name, suser_id() 'suser_id()', user_id() 'user_id', convert(char(3),user_name(1)) user_name, convert(char(3),user) 'user',db_id('master') 'db_id(''master'')', convert(char(9),db_name(2)) 'db_name(2)',datalength('aaaaaa') 'datalength( ...
- 2005-03-18 17:14
- 浏览 630
- 评论(0)
存储过程的创建和执行:
CREATE PROCEDURE [insert_members_1](@id_1 [tinyint], @name_2 [char](10), @password_3 [varchar](50), @sex_4 [char](6), @birth_5 [datetime], @salary_7 [money])
AS INSERT INTO [myguest].[dbo].[members] ( [id], [name], [password], [sex], [birth], [salary]) VALUES ( @id_1, @name_2, @pas ...
- 2005-03-18 16:40
- 浏览 698
- 评论(0)
创建存储过程:
use mydata;
create proc proc_members_1 asselect * from members where id between 1000 and 1005return
package test;
import java.sql.*;
public class SqlBean { private Connection conn; private Statement stmt; private ResultSet rs; private CallableStatement cstmt; private synchronized Connectio ...
- 2005-03-18 16:37
- 浏览 708
- 评论(0)
数据记录:
1bitanbbbbbbbbbbb0x00000000000000CA2helenhhhhhhhhhhh0x00000000000000CB3susanssssssssss0x00000000000000CC4kathykkkkkkkkkk0x00000000000000CD
K:\jboss\server\default\deploy\mssql-ds.xml:
<?xml version="1.0" encoding="UTF-8"?><datasources><local-tx-datasource> ...
- 2005-03-18 16:35
- 浏览 450
- 评论(0)
mysql> select * from users;
+----+-------+------------+----------------+| id | name | password | createTime |+----+-------+------------+----------------+| 1 | bitan | bbbbbbbbb | 20050202035511 || 2 | helen | hhhhhhhhh | 20050202035526 || 3 | susan | ssssssssss | 20050202035541 |+----+-------+--- ...
- 2005-03-18 16:34
- 浏览 625
- 评论(0)
mysql> select * from users;
+----+-------+------------+----------------+| id | name | password | createTime |+----+-------+------------+----------------+| 1 | bitan | bbbbbbbbb | 20050202035511 || 2 | helen | hhhhhhhhh | 20050202035526 || 3 | susan | ssssssssss | 20050202035541 |+----+-------+--- ...
- 2005-03-18 16:32
- 浏览 680
- 评论(0)
包含内容:
使用正则表达式进行表单验证
消息文件绑定
错误消息显示
web.xml
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
<web-app> <servlet> <servlet-name>action< ...
- 2005-03-18 16:28
- 浏览 557
- 评论(0)
application_tmp.properties
word.key=wordhello.key=你好aaaa.key=这个bean存在.bbbb.key=这个bean不存在.error.key=发生一个错误,请检查!params.key=暗暗暗暗暗暗啊,{0},不?徊徊徊徊徊徊?{1},我我我我我我我,{2},的的的的的的的
编码转换命令:
D:\yangjin\test3>native2ascii -encoding GBK .\web-inf\classes\test\application_cn_tmp.properties .\web-inf\classes\test\app ...
- 2005-03-18 16:25
- 浏览 640
- 评论(0)
DOM方式
package tigers;
import java.util.*;
import javax.xml.parsers.*;import org.w3c.dom.*;import java.io.*;
public class Tiger23 { static class Bean23 { Map<String, String> attrs; //标记属性 String name, value; //标记名称和文本内容 public Bean23(String name, String value, Map<String, String> attrs) { ...
- 2005-03-16 17:48
- 浏览 659
- 评论(0)