yonghufenyeaction.java~15~
来自「Bug管理系统」· JAVA~15~ 代码 · 共 32 行
JAVA~15~
32 行
package tmp;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.Action;
import yonghu.*;
import java.util.Iterator;
public class yonghufenyeAction extends Action {
public ActionForward execute(ActionMapping actionMapping,
ActionForm actionForm,
HttpServletRequest servletRequest,
HttpServletResponse servletResponse) {
yonghufenyeActionForm f = (yonghufenyeActionForm)
actionForm;
String s=(String)servletRequest.getAttribute("s");
System.out.println(s+" 111");
//yonghuliebiao yl=(yonghuliebiao)f.getYhlb();
//Iterator i1=yl.yonghuitems.iterator();
/* while(i1.hasNext())
{
yonghu y1=(yonghu)i1.next();
System.out.println(y1.getYonghuming());
}*/
return actionMapping.findForward("");
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?