获得请求路径,转发 action中转发:ServletActionContext.getResponse().sendRedirect(path + "deposit!getUserCardList.action)请求路径:String path = ServletActionContext.getRequest().getRequestURL().toString();