任性硬币

文章
9
资源
0
加入时间
3年2月3天

两种字符串输出方式

第一种#include<stdio.h>int main(int argc, const char *argv[]){ char fruit[][20] = {"Apple","Oranger","Banana","watermelen","strawmerry"}; int

SSH中Action

首先创建一个class BaseAction的类 extends ActionSupport implements ModelDriven 以后写Action的时候直接继承这个类就行了。但是要在这个BaseAction中创建一个获取泛型type的方法 protected T model; 注意修饰符是protected,因为我们要用到这个对象存取值。只能让本类的子类访问到。 publi