如果你的xxxx是动态的,在xml中应该不可以但是在类里用 
response.sendredirect("/admin.do?id="+xxx);
return null;
实现可以。

解决方案 »

  1.   

    看看以下代码你就明白了
    public ActionForward batchRePubTradeinfo(ActionMapping mapping,
    ActionForm form, HttpServletRequest request,
    HttpServletResponse response) throws Exception {
    String tradeinfoId = request.getParameter("tradeinfoId");
    String[] ids = tradeinfoId.split(",");
    for (String id : ids) {
    Tradeinfo o = entityService.get(Integer.valueOf(id));
    o.setPublishdate(DateUtils.getCurrentDate());
    entityService.update(o);
    }
    HttpSession session = request.getSession();
    ActionForward forward = new ActionForward("/assistant/getAllTradeinfo.htm?cpage="+session.getAttribute ("currPage")); 
    return (forward); }