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

📄 updatepaymentcardactions.java

📁 Struts+Spring+Hibernate实现的在线拍卖系统,去掉了这些组件自身的jar包
💻 JAVA
字号:

package org.bestteam.web.struts.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.bestteam.domain.PaymentCard;
import org.bestteam.service.PaymentCardService;
import org.bestteam.web.struts.form.UpdatePaymentCardForm;


public class UpdatePaymentCardActions extends Action {
//	private PaymentCardService paymentCardService;
	
	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
//		UpdatePaymentCardForm updatePaymentCardForm = (UpdatePaymentCardForm) form;// TODO Auto-generated method stub
//		PaymentCard paymentCard = updatePaymentCardForm.getPaymentCard();
		System.out.println("hello");
//		System.out.println(paymentCard.getCreditCard());
//		if (paymentCardService.updatePaymentCard(paymentCard)) {
//			request.setAttribute("Message", "更新支付宝信息成功");
//			return mapping.findForward("success");
//		}
//		request.setAttribute("errorMessage", "更新支付宝信息失败");
		return null;//mapping.findForward("fail");
	}

//	public void setPaymentCardService(PaymentCardService paymentCardService) {
//		this.paymentCardService = paymentCardService;
//	}
}

⌨️ 快捷键说明

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