- 浏览: 27816 次
- 性别:
- 来自: 北京
最新评论
文章列表
du -sh dirname
-s 仅显示总计
-h 以k、m、g为单位,提高信息的可读性。kb、mb、gb是以1024为换算单 位, -h以1000为换算单位
webservice
e:\bea\weblogic81\server\bin\setWLSEnv
- 2008-11-17 16:16
- 浏览 952
- 评论(0)
解决WEBLOGIC的中文乱码-Dweblogic.webservice.i18n.charset=utf-8
- 2008-11-17 16:13
- 浏览 2853
- 评论(0)
According to JSP 2.0 specification (chapter 1.7 page 72,73)
This code is illegal:
<mytags:tag value="<%= "hi!" %>" />
Instead the correct sentence would be:
<mytags:tag value='<%= "hi!" %>' />
<mytags:tag value="<%= \"hi!\" ...
- 2008-11-17 16:12
- 浏览 912
- 评论(0)
window.location
window.location="#error";
<a name="error"></a>
滚动到页面最上面
document.body.scrollTop=0;
- 2008-11-17 16:11
- 浏览 3591
- 评论(0)
document.getElementById("messageIframe").contentWindow.document.getElementById("area").value
- 2008-11-17 16:11
- 浏览 910
- 评论(0)
function clearSelect(ctlSelect){
ctlSelect.options.length = 0;
}
function addOption(select,text,value) {
if(text != "") {
var obj = document.createElement("option");
obj.text = text;
obj.value = value;
select.options.add(obj);
}
}
function add_city( ...
- 2008-11-17 16:09
- 浏览 1032
- 评论(0)
function delrow(opt){
var Elm = opt;
while(Elm && Elm.tagName != "TR")
{
Elm = Elm.parentElement;
}
var intThisIndex = Elm.rowIndex;
Elm.parentElement.deleteRow(intThisIndex);
}
- 2008-11-17 16:08
- 浏览 887
- 评论(0)
var form = document.forms[0];
var objTable = document.getElementById("specialFee");
var objTableBody=objTable.children(0);
var rowCount = objTable.rows.length;
var newRow = document.createElement("TR");
newRow.align = "center";
newRow.st ...
- 2008-11-17 16:08
- 浏览 889
- 评论(0)
<table width="80%" border="0" cellpadding="0" cellspacing="0">
<tr style="cursor: pointer" onclick="javascript:overdue()">
<td align="right" valign="middle" width="12"><img src= ...
- 2008-11-17 16:07
- 浏览 1566
- 评论(0)
通过数据生成XML
/**
* 通过数据生成XML
* @param subObj
* @return Object
*/
public static Object toXMLString(Object subObj ){
XStream xStream = new XStream(new DomDriver());//不需要XPP3库
xStream.alias(subObj.getClass().getName(),subObj.getClass());
String xml = xStream.toXML(subObj);
...
- 2008-11-17 16:05
- 浏览 1437
- 评论(0)
SELECT apply_name, apply_captured, status FROM dba_apply;
begin
dbms_apply_adm.stop_apply(apply_name => 'streams_apply');
end;
begin
dbms_apply_adm.start_apply(apply_name => 'streams_apply');
end;
- 2008-11-17 16:04
- 浏览 1954
- 评论(0)
注:$ORACLE_HOME为oracle的安装路径
1,以oracle用户登录
su oracle
2,启动TNS监听器
$ORACLE_HOME/bin/lsnrctl start
3,用sqlplus启动数据库
$ORACLE_HOME/bin/sqlplus /nolog
SQL> connect system/change_on_install as sysdba
SQL> startup
出现如下显示,表示Oracle已经成功启动
ORACLE instance started.
Total System Global Area 205520896 bytes ...
- 2008-11-17 16:02
- 浏览 1384
- 评论(0)
Oracle:
select b.* from
(
select rownum r , t.* from table_name(表名) t
) b where b.r> BEGIND_COUNT(开始条数) and b.r<= END_COUNT(结束条数)
Mysql:
Select * from table_name(表名) limit size(数据条数) offset startnum(开始条数)
Sybase:
Select top size(数据条数) start at startnum(开始条数) * from table_name(表名)
- 2008-11-17 16:01
- 浏览 1122
- 评论(0)
1、安装J2SDK(我的是下载后放在/root里面的下)
#cd
#./jdk-1_5_0_09-linux-i586.bin 翻到最后输入yes
#mv jdk1.5.0_09 /usr/local/java 移动文件夹jdk1.5.0_09到/usr/local/里面并改名为java
2、安装tomcat
#cd
#tar xvfz apache-tomcat-5.5.20.tar.gz
#mv apache-tomcat-5.5.20 /usr/local/tomcat 移动文件夹apache-tomcat-5.5.20 到/usr/local/里面并改名为tomcat
...
- 2008-11-17 15:58
- 浏览 1632
- 评论(0)