display tag with struts2

前端 未结 1 1956
悲&欢浪女
悲&欢浪女 2021-01-27 11:23

I am trying to use display tag for my ArrayList passed from action class.

Action Class

public List getAccessLogList() t         


        
1条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-27 12:19

    finally I fixed it.

    display:table id="accessLogList" name="accessLogList" requestURI="viewLogList.action" pagesize="10" defaultsort="1">

    Please use the action name that will be map to the specific action. It works perfectly.

    for example:

    
                    /WEB-INF/pages/Log_list.jsp
                    /WEB-INF/pages/Log_list.jsp
            
    

    0 讨论(0)
提交回复
热议问题