sadfsadf dfs sdf asdf asdf asdf asdfasdfasdf sdfsadfsdf ...
分类:
其他好文 时间:
2016-06-30 21:43:32
阅读次数:
100
对应书本第7章 总说:JavaBean就是将Java代码封装成处理某种业务逻辑的类,在jsp中调用此类即可,简化jsp页面。 一般过程:先看看整个页面需要哪些数据,把整个页面的数据整体看成一个类写一个类,之后如果需要其他的方法可以再写其他类,在jsp中直接调用类即可。 JavaBean种类: 传统应 ...
分类:
其他好文 时间:
2016-06-28 10:39:43
阅读次数:
185
自写控制器: MainController.class.php: 浏览器中输入http://localhost:8080/thimk/index.php/Home/Main/XianShi/name/li/age/22即可运行显示 如要运行CeShi(),还要在View中建文件夹Main,在该新建文 ...
分类:
其他好文 时间:
2016-06-13 23:26:55
阅读次数:
214
[ceshi]192.168.220.98log ansible_ssh_host=192.168.220.116 ansible_ssh_port=10056 ansible_ssh_user=wwwad 名词解释: [ceshi] 这是主机组名 log:192.168.220.116的别名 an ...
分类:
其他好文 时间:
2016-06-08 12:14:09
阅读次数:
501
变量调节器:<{$a|变量调节器}> 了解更多可以查询smarty手册 主要修改此页面的信息来了解变量调节器:main.php/main.html(0603) 1.利用给定的变量调节器 capitalize 首字母大写 php页面:$smarty->assign("ceshi","hello wor ...
分类:
其他好文 时间:
2016-06-06 22:07:28
阅读次数:
281
function ceshi_Excel%设定测试Excel文件名和路径filespec_user=[pwd '\测试.xls'];%判断Excel是否已经打开,若已打开,就在打开的Excel中进行操作,%否则就打开ExceltryExcel=actxGetRunningServer('Excel. ...
分类:
其他好文 时间:
2016-06-06 18:51:35
阅读次数:
196
创建表: create table Ceshi ( Uid varchar(50) primary key, Pwd varchar(50), Name varchar(50), Nation varchar(50), foreign key(Nation) reference Nation(Cod ...
分类:
数据库 时间:
2016-05-21 13:01:20
阅读次数:
148
#include
#include
#define maxn 2009
#include
#define mod 1000000007
using namespace std;
long long a,sum[maxn];
int main()
{
freopen("in.txt","r",stdin);
freopen("out2.txt","w",stdout);
l...
分类:
其他好文 时间:
2016-05-12 14:04:04
阅读次数:
181
[root@iZ25s9lvbfhZ~]#cd/usr/local/src/
[root@iZ25s9lvbfhZsrc]#wgethttp://mirrors.sohu.com/mysql/MySQL-5.5/mysql-5.5.48-linux2.6-x86_64.tar.gz
[root@iZ25s9lvbfhZsrc]#tarzxvfmysql-5.5.48-linux2.6-x86_64.tar.gz
[root@iZ25s9lvbfhZsrc]#mvmysql-5.5.48-linux2.6-x8..
分类:
其他好文 时间:
2016-05-08 12:09:54
阅读次数:
268
写一个shell脚本,要求打印出文档中只含有一个数字的行:#!/bin/bash
foriin`cat/root/passwd`;do
n=`echo$i|sed‘s/[^0-9]//g‘|wc-c`
#echo$n
if[$n-eq2];then
echo$i
else
continue
fi
done执行以下此脚本文件:[root@ceshi~]#catpasswd
root:x:0:0:root:/root:/bin/bash
bin:..
分类:
系统相关 时间:
2016-04-28 15:30:45
阅读次数:
367