- 浏览: 480017 次
- 性别:
- 来自: 上海
最新评论
-
276847139:
方法很有效,我的问题就在是在父项目的.classpa ...
手动添加Maven Dependencies -
coosummer:
推荐使用http://buttoncssgenerator.c ...
button css 样式 -
lqz2012:
DBFFileReader是外部框架里面的吧,不是JDK的。楼 ...
java读取dbf文件 -
xudongcsharp:
lx13345 写道java.lang.NoSuchMetho ...
Spring常用错误 -
lx13345:
jar是hibernate3.3GA,ehcache-1.5. ...
Spring常用错误
文章列表
网林在线: http://www.50css.com/WzHTable2.shtml
http://www.w3school.com.cn/
http://learning.artech.cn/
数据库函数to_date与to_char
- 博客分类:
- Oracle
to_date('mystring','formatstring'):将字符串转换为相应的时间类型
例:to_date(substr('2008-5-1',1,4)||'01-01'),yyyy-mm-dd);
to_char(sysdate,'formatstring'):将对象类型转换为相应的字符类型
例:to_char(sysdate,yyyy-mm-dd));
java.util.ResourceBundle使用详解
一、认识国际化资源文件
这个类提供软件国际化的捷径。通过此类,可以使您所编写的程序可以:
轻松地本地化或翻译成不同的语言
一次处理多个语言环境
以后可以轻松地进行修改,支持更多的语言环境
说的简单点,这个类的作用就是读取资源属性文件(properties),然后根据.properties文件的名称信息(本地化信息),匹配当前系统的国别语言信息(也可以程序指定),然后获取相应的properties文件的内容。
使用这个类, ...
<select name="dh" onchange="javascript:location.href=this.value;">
<option value="http://www.baidu.com/">baidu</option>
<option value="http://www.google.com/">google</option>
</select>
对scott用户解锁
alter user scott account unlock
怎么样查看oracle版本
select banner from sys.v_$version
取固定条数
select * from organization where rownum<4 order by datetime (oracle) [rownum 关键字]
<script type='text/javascript'>
// 在父窗口中打开
window.open('http://10.0.16.58:7001/url.html','_parent',''); </script>");
function FunUrl(Per){
window.parent.frames['FMRight'].location.href="url" ;
}
//其中FMRight为 Frame标签的 name属性,FContent.jsp为子窗口Frame想更换的地址
关于iframe更多:
http://www.dreamdu.com/xhtml/tag_iframe/
js动态显示时间
- 博客分类:
- JavaScript
js代码:
function getDate(){
var date=new Date();
var month=date.getMonth()+1;
var day=date.getDate();
if(month.toString().length == 1){ //或者用if (eval(month) <10) {month="0"+month}
month='0'+month;
}
if(day.toString().length == 1){ ...
<html>
<head>
<title>二级联动</title>
</head>
<body onload="init()">
<form name="creator" >
<script language="javascript">
<!--
var where = new Array(35);
function comefrom(loca,locacity) { this.loca = loca; this. ...
JS实现checkbox单选
- 博客分类:
- JavaScript
<html>
<BODY>
<input type="checkbox" name="cbox" value="cbox1" onClick="chooseOne(this);">checkBox1
<input type="checkbox" name="cbox" value="cbox2" onClick="chooseOne(this);">che ...
1.关于Radio Button
比如这里有个form.html,而且它要提交到result.jsp
<form action="result.jsp" method="post">
<input type="radio" value="男" name="gender"/>
<input type="radio" value="女" name="gender"/>
</form>
然后在re ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb ...
js、jquery打印
- 博客分类:
- JavaScript
第一种方法:
<input id="btnPrint" type="button" value="打印" onclick="javascript:window.print();" />
可以用样式控制,你想让那块打印就打印啊,样式如下:
<style type="text/css" media=print>
.noprint{display : ...
<html>
<head>
</head>
<body>
<select>
<optgroup label="Swedish Cars">
<option value ="volvo">Volvo</option>
<option value ="saab">Saab</option>
</optgroup>
<optgroup label="German ...
js计算剩余字符
- 博客分类:
- JavaScript
<html>
<head>
<script type="text/javascript">
function checkLength(which) {
var maxChars = 250;
if (which.value.length > maxChars)
which.value = which.value.substring(0,maxChars);
var curr = maxChars - which.value.length;
document.getElementById(&qu ...