querylist.java~14~
来自「一个专门用来快速开发网站的框架」· JAVA~14~ 代码 · 共 53 行
JAVA~14~
53 行
package com.ksgl.body.index;
import java.util.*;
import com.core.web.Action;
import com.opensymphony.xwork.*;
import com.core.web.Condition;
import com.core.web.Paging;
/**
* <p>Title: literature item </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: </p>
*
* @author hj
* @version 1.0
*/
public class QueryList extends Action{
public QueryList() {
}
private List list1;
public String execute() throws Exception {
BO bo = new BO();
System.out.println(this.GetMkid("mkid")+" +++++++++++");
list1=bo.queryList(paging, condition,this.GetMkid("mkid"));
System.out.println(list1.size()+" ------------");
return SUCCESS;
}
public String GetMkid(String obj)
{
String mkid[] = (String[]) ActionContext.getContext().getParameters().get(obj);
return mkid[0];
}
public List getList1() {
return list1;
}
public void setList1(List list1) {
this.list1 = list1;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?