inputorderaction.java~6~

来自「订单管理系统.JSP+SQL等 内容强大」· JAVA~6~ 代码 · 共 22 行

JAVA~6~
22
字号
package com.order.action;import org.apache.struts.action.*;import javax.servlet.http.*;public class InputOrderAction extends Action {  public ActionForward perform(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) {    /**@todo: complete the business logic here, this is just a skeleton.*/    OrderActionForm form = (OrderActionForm) actionForm;    OrderLogic logic = new OrderLogic();    logic.setForm(form);    HttpSession session = httpServletRequest.getSession(false);    if(session!=null)    {      Customer  customer = (Customer)session.getAttribute("pass");      logic.getOrders(customer.getCustomerUID());    }    logic.closeDAO();    return actionMapping.findForward("inputorder");  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?