logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ORACLE日期函数ADD_MONTHS

原文地址:日期函数 ADD_MONTHS">ORACLE 日期函数 ADD_MONTHS作者:小猪格式:ADD_MONTHS(DATE,NUMBER)即ADD_MONTHS(日期,数字) ADD_MONTHS函数在输入日期上加上指定的几个月返回一个新的日期。如果给出一负数,返回值日期之前几个月日期。 ADD_MONTHS(DATE,NUMBER)中的NUMBER应当是整数,给出小数时,正

#oracle
Ajax基础(检查用户名是否存在)

<scripttype="text/javascript">var req;function validate(){var idField = document.getElementByIdx_x_x_x_x_x("userid");var url = "validate.jsp?name="+escape(idField.value);//把userid的值转换为url中格式传到va

Can not find a java.io.InputStream with the name [inputStream] in the invocation stack问题解决

原文地址:not find a java.io.InputStream with the name [inputStream] in the invocation stack问题解决">Can not find a java.io.InputStream with the name [inputStream] in the invocation stack问题解决作者:digense具体异常是这句

Struts2输入校验总结

(转)Struts2输入校验总结一. 手动输入完成校验 1.普通的处理方式:只需要在action中重写validate()方法 2.一个action对应多个逻辑处理方法:指定校验摸个特定方法的方式: 重写validateXxxx()方法。Eg:如果,只校验login方法,则只需重写validateLogin().二. 输入校验流程: 1.类型转换器负责对字符串的请求参数执行类型

常用正则表达式(程序员必转)

原文转自只能输入数字:"^[0-9]*$"。   只能输入n位的数字:"^\d{n}$"。  只能输入至少n位的数字:"^\d{n,}$"。  只能输入m~n位的数字:。"^\d{m,n}$"  只能输入零和非零开头的数字:"^(0|[1-9][0-9]*)$"。  只能输入有两位小数的正实数:"^[0-9]+(.[0-9]{2})?$"。 只能输入有1~3位小数的正实数:"^[

#正则表达式
Hibernate中No row with the given identifier exis

good原文地址:row with the given identifier exis">Hibernate中No row with the given identifier exis作者:兰博wkHibernate中No row withthe given identifier exists今天整理权限和菜单关联的时候,报出了Norow with thegiven identifier

oracle ORA-01476:divisor is equal to zero

在执行SQL语句时报ORA-01476:divisor is equal to zero主要的原因是在SQL语句中除数为0。例如:select a/b from c;当b为0时执行SQL就会报ORA-01476:divisor isequal to zero修改后:select decode(b,0,0,a/b) from c;这样就可以了。有关于oracle 的decode的用法请

到底了