struts action 提交2次

public ActionForward init(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) {
DmOrderPriceForm dmOrderPriceForm = (DmOrderPriceForm) form;// TODO Auto-generated method stub
//查询所有这个价格的折扣区间
String id=request.getParameter("id");

List list=null;
list=dmOrderPriceBo.queryChargeType(Integer.valueOf(id));//(1)
request.setAttribute("emplist", list);
request.setAttribute("priceId", id);
System.out.println("sdfsdf");
return mapping.findForward("success");
}

(1) 这里 屏蔽就走一次,不屏蔽就走2次。mapping.findForward("success"); 会到一个空页面!!!!
看来struts 有这个bug!!!! 妈逼!!!

你可能感兴趣的:(struts)