⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pricingaction.java~3~

📁 EJB+Hibernate+Spring 电信计费系统
💻 JAVA~3~
字号:
package tarena.netctoss.action;

import javax.servlet.http.*;

import org.apache.struts.action.*;
import org.apache.struts.actions.*;
import tarena.netctoss.biz.*;
import java.util.Collection;

public class PricingAction extends MappingDispatchAction {
    
    private PricingBIZ pricingBIZ;
    public ActionForward list(ActionMapping mapping, ActionForm form,
                              HttpServletRequest request,
                              HttpServletResponse response) {
        System.out.println("in list");
        Collection c = pricingBIZ.listAllPricing();
        return mapping.findForward("success");
    }

    public ActionForward toAdd(ActionMapping mapping, ActionForm form,
                               HttpServletRequest request,
                               HttpServletResponse response) {
        System.out.println("in toAdd");
        return mapping.findForward("success");
    }

    public ActionForward add(ActionMapping mapping, ActionForm form,
                             HttpServletRequest request,
                             HttpServletResponse response) {
        System.out.println("in add");
        return mapping.findForward("success");
    }

    public ActionForward remove(ActionMapping mapping, ActionForm form,
                                HttpServletRequest request,
                                HttpServletResponse response) {
        System.out.println("in remove");
        return mapping.findForward("success");
    }

    public ActionForward get(ActionMapping mapping, ActionForm form,
                             HttpServletRequest request,
                             HttpServletResponse response) {
        System.out.println("in get");
        return mapping.findForward("success");
    }

    public ActionForward modify(ActionMapping mapping, ActionForm form,
                                HttpServletRequest request,
                                HttpServletResponse response) {
        System.out.println("in modify");
        return mapping.findForward("success");
    }

    public PricingBIZ getPricingBIZ() {
        return pricingBIZ;
    }

    public void setPricingBIZ(PricingBIZ pricingBIZ) {
        this.pricingBIZ = pricingBIZ;
    }


}

⌨️ 快捷键说明

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