« | August 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | | | |
|
统计 |
blog名称:小雨 日志总数:262 评论数量:1273 留言数量:15 访问次数:4665704 建立时间:2005年1月8日 |
| 
|
W3CHINA Blog首页 管理页面 写新日志 退出
[知识积累]red hatROOT密码忘记的解决办法 |
小雨 发表于 2009/7/13 21:27:47 | 用GRUB引导系统进入单用户步骤: (1) 启动GRUB,选择Red Hat Linux的选项,然后键入 e 来编辑; (2) 选择以kernel开头的一行,再按e 键,在此行的末尾,按空格键后输入single,以回车键来退出编辑模式; (3) 回到了 GRUB 屏幕后,键入 b 来引导进入单用户模式。 进入单用户后,passwd 程序来设置root的新密码 # passwd root # reboot 重启系统后,root 密码已被更新
|
阅读全文(6194) | 回复(0) | 编辑 | 精华 | 删除 |
[知识积累]vc 访问带返回值的存储过程 ,纯粹记录免得到处找 |
小雨 发表于 2009/3/19 20:35:53 | #import "MSADO15.DLL" no_namespace rename("EOF","rsEOF")
void CTestDlg::OnOK() { CoInitialize(NULL);
// Define ADO object pointers. // Initialize pointers on define. // These are in the ADODB:: namespace. _CommandPtr pcmdByRoyalty = NULL;
_ConnectionPtr pConnection = NULL; _ParameterPtr m_pParam;
|
阅读全文(4450) | 回复(1) | 编辑 | 精华 | 删除 |
[知识积累]有验证返回消息的 struts |
小雨 发表于 2007/12/8 16:51:57 |
1 资源文件MessageResources.properties
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in complianc
|
阅读全文(3606) | 回复(1) | 编辑 | 精华 | 删除 |
[知识积累]带验证的 struts |
小雨 发表于 2007/12/2 21:23:00 |
<?xml version="1.0" encoding="ISO-8859-1" ?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this fil
|
阅读全文(3436) | 回复(0) | 编辑 | 精华 | 删除 |
[知识积累]我的第一个struts |
小雨 发表于 2007/12/2 12:14:20 |
环境 tomcat5.5 ,jdk1.5 ,struts1.3.8
1 index.jsp
<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<!-- :TODO: It would be interesting to try this with frames and modules --> <html> <head> <title>RegUser</title> </head> <body bgcolor="white"> <html:form action="/RegUser" focus="logname"&
|
阅读全文(3352) | 回复(1) | 编辑 | 精华 | 删除 |
[知识积累]水晶报表 |
小雨 发表于 2007/5/19 10:24:40 | 版本:9
密钥:AAP5GKS0000GDE100DS 注册号:6707437608
BookBll bb=new BookBll(); BookViewDS ds=bb.GetBook(); SellReport sr=new SellReport(); sr.SetDataSource(ds); CrystalReportViewer1.ReportSource=sr;
|
阅读全文(3025) | 回复(0) | 编辑 | 精华 | 删除 |
[知识积累]c# 数据导航 |
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.SqlClient; namespace WindowsApplication1 { /// <summary> /// Form1 的摘要说明。 /// </summary> public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.Button button1;<
|
阅读全文(3327) | 回复(0) | 编辑 | 精华 | 删除 |
[知识积累]j2me rms |
小雨 发表于 2007/3/31 16:57:09 | import javax.microedition.rms.*; import javax.microedition.lcdui.*; import javax.microedition.midlet.*; import javax.microedition.io.*; import java.util.Enumeration; import java.io.*; public class testRms extends MIDlet implements CommandListener { List list,choose; Command back; Display display ; RecordStore rs=null; public void startApp() { display=Display.getDisplay(this); back
|
阅读全文(2885) | 回复(0) | 编辑 | 精华 | 删除 |
[知识积累]j2me and servlet |
1 j2me
/* * HttpMidlet.java */ import javax.microedition.midlet.*; import javax.microedition.lcdui.*; import javax.microedition.io.*; import java.io.*;
public class test extends MIDlet implements CommandListener,Runnable { //使用默认的URL。用户可以从图形用户接口改变这个值 private static String defaultURL = "http://localhost:7001/applications/testServlet";
// 主MIDP 显示 private Display myDisplay = null
|
阅读全文(3757) | 回复(1) | 编辑 | 精华 | 删除 |
[知识积累]使用weblogic 8.1 的jdbc |
小雨 发表于 2007/3/17 19:47:59 |
<%@ page session="true" %> <%@ page contentType="text/html;charset=gb2312" %>
<%@ page import="javax.sql.*"%> <%@ page import="java.sql.*"%> <%@ page import="javax.naming.*"%>
<!
|
阅读全文(4529) | 回复(0) | 编辑 | 精华 | 删除 |
|