Vector v = (Vector)session.getAttribute(Constants.NEWS_LIST_KEY);
//////////////////////////////////////////////////////////////////////////
你确信你的seesion中的Constants.NEWS_LIST_KEY也更新了?你是否在更新DB后,有更新了session,要不怎么来显示?
//////////////////////////////////////////////////////////////////////////
你确信你的seesion中的Constants.NEWS_LIST_KEY也更新了?你是否在更新DB后,有更新了session,要不怎么来显示?
session.setAttribute("Constants.NEWS_LIST_KEY",Constants.NEWS_LIST_KEY)
request.session.setAttribute("Constants.NEWS_LIST_KEY",Constants.NEWS_LIST_KEY)