Visual Studio 2017 简体中文企业正式版全量离线安装包下载地址:magnet:?xt=urn:btih:199993649B1834C50FE7BDD204502CC23C7A4611 http://www.xyx7.com/News/Detail/2502314.html http Read More
posted @ 2017-03-09 13:34 汉卿 Views(654) Comments(0) Diggs(0) Edit
cookie 有路径--path,表示哪些路径下的文件有权限读取该 cookie。path 应该以 "/" 结尾,同名 cookie,不同 path,属不同的 cookiedocument.cookie = "N1=1; path=/path/";document.cookie = "N1=2; path=/path";document.cookie = "N1=3; path=path/";如上代码,前两句相对于站点根目录的网页目录,第三句使用的是相对当前目录的路径。第一句和第二句在于结尾不同,虽然他们所表达的权 Read More
posted @ 2012-03-12 15:13 汉卿 Views(485) Comments(0) Diggs(0) Edit
一,Oracle中的过程,函数对于oracle中的过程和函数,个人觉得可以化为一类,因为它们在写法上并没有什么的不同。公式无非就是 create or replace Package_name(paramater1 in type,paramater2 in type,out_message out type) is locate_paramater1 type; locate_paramater2 type; begin begin select sth into locate_paramater1 from table_name where 。。。。 exception when no_d Read More
posted @ 2012-02-09 15:41 汉卿 Views(526) Comments(0) Diggs(0) Edit
create or replace trigger is tri_update[/insert/delete/UID]_tableName before[after] insert[update/delete/or 。。。] on tableName [for each row]--这个一般都要加上,因为我们一般都是行级触发器,即对每一行都操作 [declare locateParamater1 type; locateParamater1 type;] --又见begin...end; begin --do something; end;在给实例之前,想说说自己使用触发器的几个感受:(1). Read More
posted @ 2012-02-09 15:39 汉卿 Views(438) Comments(0) Diggs(0) Edit
这个文档几乎包含了oracle游标使用的方方面面,全部通过了测试-- 声明游标;CURSOR cursor_name IS select_statement--For 循环游标--(1)定义游标--(2)定义游标变量--(3)使用for循环来使用这个游标declare--类型定义cursor c_jobisselect empno,ename,job,salfrom empwhere job='MANAGER';--定义一个游标变量v_cinfo c_emp%ROWTYPE ,该类型为游标c_emp中的一行数据类型c_row c_job%rowtype;beginfor c_r Read More
posted @ 2012-02-09 15:36 汉卿 Views(405) Comments(0) Diggs(0) Edit
核心提示:自称为“SIT小组”的黑客留言称蒙牛为“民族的耻辱”,这使得近日被迫平息的“毒奶门”事件再度升级。蒙牛公司官方网站遭黑客入侵截图21世纪网讯 12月28日晚间11时许,蒙牛公司官方网站(www.mengniu.com.cn)遭黑客入侵,自称为“SIT小组”的黑客留言称蒙牛为“民族的耻辱”,这使得近日被迫平息的“毒奶门”事件再度升级。蒙牛官网写道:“蒙牛曾经让中国人强壮过,曾经让中国人自豪过,中国自己的乳企,如今自己坑自己。你们坑爹呢还是坑爹呢还是坑爹呢?每天一斤奶,喝死中国人。这就是你们蒙牛的宗旨吧?我想问问在事发以前你们出过多少事,坑害过多少中国人,我们是一家人,你却自己坑害自己家 Read More
posted @ 2011-12-29 12:26 汉卿 Views(294) Comments(0) Diggs(0) Edit
public class UserAction{private User user;public String add(){System.out.println("name="+user.getName());System.out.println("age="+user.getAge());return SUCCESS;}public User getUser(){return user;}public void setUser(User user){this.user=user;}}可用user!add?user.name=xx&user.ag Read More
posted @ 2011-12-26 16:02 汉卿 Views(353) Comments(0) Diggs(0) Edit
Action 自动把属性的值接收到成员变量里private String name;private int age;public void setName(String name){this.name=name;}public void setAge(int age){this.age=age;}Action调用setName来给name赋值,set后的名称要跟参数名称相同即setName则参数名为Name。 Read More
posted @ 2011-12-26 15:43 汉卿 Views(206) Comments(0) Diggs(0) Edit
1.当调用方法为x时{1}即为x<package name="actions" extends="struts-default" namespace="/actions"><action name="Student*" class="" method="{1}"><result>/Student{1}_success</result><action><action name="*_*" cl Read More
posted @ 2011-12-26 15:22 汉卿 Views(252) Comments(0) Diggs(0) Edit
1.<action name="user" class="" method="xxx"><result>xxx</result></action>可以通过设置Action的method属性来改变出发此action的默认方法,Action的默认触发方法是execute。2.可以通过Action名称后加!+方法名来实现对不同方法的调用。<action name="user" class=""><result>xxx</re Read More
posted @ 2011-12-26 15:12 汉卿 Views(295) Comments(0) Diggs(0) Edit