execute是啥意思
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/09/02 17:16:03
execute是啥意思
public class BookAddAction extends Action{
public ActionForward execute(ActionMapping mapping,ActionForm form,
HttpServletRequest request,HttpServletResponse response)
throws Exception {
BookService service = new BookServiceImpl();
service.addBook((BookAddForm)form,request);
return mapping.findForward("main");
}
}帮忙给解释下上面的含义
public class BookAddAction extends Action{
public ActionForward execute(ActionMapping mapping,ActionForm form,
HttpServletRequest request,HttpServletResponse response)
throws Exception {
BookService service = new BookServiceImpl();
service.addBook((BookAddForm)form,request);
return mapping.findForward("main");
}
}帮忙给解释下上面的含义
execute 是方法名
public class BookAddAction extends Action{ //类bookaction 从 action继承
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)//一个公共方法execute,返回类型为ActionForwar,包括了四个参数
throws Exception {//抛出异常
BookService service = new BookServiceImpl();//创建BOOKSERVICE 类型的对象引用
service.addBook((BookAddForm)form, request);//调用addbook方法,将其中的一个参数强制转换为bookaddform类型
return mapping.findForward("main");
}
}
public class BookAddAction extends Action{ //类bookaction 从 action继承
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)//一个公共方法execute,返回类型为ActionForwar,包括了四个参数
throws Exception {//抛出异常
BookService service = new BookServiceImpl();//创建BOOKSERVICE 类型的对象引用
service.addBook((BookAddForm)form, request);//调用addbook方法,将其中的一个参数强制转换为bookaddform类型
return mapping.findForward("main");
}
}
这就句英文的意思:could not execute menu item?
你上次的这个问题你是怎么解决的`?please execute'setup.exe'for install or upg
英语翻译Execute active program with(START);Machining;Main Progru
英语翻译While the execute-only memory (XOM) architecture,and the
please execute'setup.exe'for install or upgrade.
英语翻译Kindly find the exclusivity contract and also execute th
英语翻译inwitness where of.i execute this certificate and affix
please execute ' setup.exe ' for install or upgrade
英语翻译in witness whereof,i execute this certificate and affix
please execute ' setup.exe ' for install or upgrade
英语翻译This enables us to develop and execute aggressive busine
英语翻译WHEREAS,the Parties mutually desire to execute this Cont