Just a little smile ^ ^

yoyo_zeng

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年5月7日

摘要: 配置Factory bean that configures a VelocityEngine and provides it as bean reference. This bean is intended for any kind of usage of Velocity in application code, e.g. for generating email content. For web views, VelocityConfigurer is used to set up a VelocityEngine for views. <bean id="velocit 阅读全文
posted @ 2013-05-07 09:25 yoyo_zeng 阅读(325) 评论(0) 推荐(0) 编辑

摘要: IPA类 NHHH (0-126)(0-255)(0-255)(0-255) 126个网络,每个网络有256*256*256个主机B类 NNHH (128-191)(0-255)(0-255)(0-255) 64*256个网络,每个网络有256*256个主机C类 NNNH (192-222)(0-255)(0-255)(0-255) 31*256*256个网络,每个网络有256个主机 阅读全文
posted @ 2013-05-07 09:25 yoyo_zeng 阅读(131) 评论(0) 推荐(0) 编辑

摘要: if(){}elsif(){}else{}while(){}until(){}for(; ;){}foreach $word (@words) {if ($word eq "the") {print ("found the word 'the'\n");}}do {statement_block} while_or_until (condexpr);last: 与C中的break作用相同;next: 与C中的continue作用相同;redo: 重复此次循环,即循环变量不变,回到循环起始点,但要注意,redo命令在do循环中不起作用。go 阅读全文
posted @ 2013-05-07 09:24 yoyo_zeng 阅读(217) 评论(0) 推荐(0) 编辑

摘要: sql注入xss(插入恶意html)点击劫持(iframe透明)CSRF Cross-siterequestforgery跨站请求伪造 阅读全文
posted @ 2013-05-07 09:24 yoyo_zeng 阅读(143) 评论(0) 推荐(0) 编辑

摘要: package classname#构造函数sub new{#所谓对象其实是一个哈希表或者数组my $self = shift; bless $self, shift; #将self和类关联,告诉对象,你现在是shift类了,你可以使用shift类的方法了。return $self;}sub virtual_method{}1;对象以.pm文件结尾静态方法: 第一个参数为类名,虚方法: 第一个参数为对象的引用shift方法处理第一个参数的方式决定了它是静态的还是虚的。静态方法一般忽略掉第一个参数,因为它们已经知道自己在哪个类了,构造函数即静态方法。继承# parent classpacka.. 阅读全文
posted @ 2013-05-07 09:15 yoyo_zeng 阅读(200) 评论(0) 推荐(0) 编辑