楼上的,试过了,好像没有反应

解决方案 »

  1.   

    在action里面加if (mapping.getAttribute() != null) {
                if ("request".equals(mapping.getScope()))
                    request.removeAttribute(mapping.getAttribute());
                else
                    session.removeAttribute(mapping.getAttribute());
    }
    移除对应的formbean