//-->
</script>
bankadd.java
RZLogger log = new RZLogger();
log.logDebug("Start executing action:" + actionMapping.getPath());
log.logError(e.fillInStackTrace());
messages.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("mm.add.bank.success"));
super.saveMessages(httpServletRequest, messages);
httpServletRequest.setAttribute(Const.NEXT_ACTION_KEY,
"/pages/Market/bank/add.jsp");
return actionMapping.findForward(Const.SUCCESS);
messgPage.jsp
<html:messages id="message" message="true">
<bean:write name="message"/>
</html:messages>
<%
String nextAct = (String)request.getAttribute("next_action");
if(null != nextAct){
%>
<SCRIPT LANGUAGE="JavaScript">
function jump()
{
document.location="<html:rewrite page='<%=nextAct%>'/>";
}
</SCRIPT>
<input type="button" value="确定" styleClass="botton_DS" onclick="jump()" c/>
<!--html:button value="确定" property="Submit" onclick="document.location='<%=nextAct%>'"/-->
<%}else{%>
<html:button value="确定" property="Submit" onclick="history.back()"/>
<%}%>
bankList.java
//设定第一个页,并且初始化pager.
List list = banDao.listBank();
SimplePager pager = new SimplePager( (ArrayList) list,
Const.ITEMS_PER_PAGE);
httpServletRequest.getSession().setAttribute(bankPage.
BANK_LIST_PAGER_KEY, pager);
ActionForward forward = new ActionForward();
String path = actionMapping.findForward(Const.SUCCESS).getPath() + "?" +
Const.PAGE_KEY + "=1";
&nb