problem in accessing the path involving pagination using display tag

Posted by sarah on Stack Overflow See other posts from Stack Overflow or by sarah
Published on 2010-04-23T05:11:14Z Indexed on 2010/04/23 5:13 UTC
Read the original article Hit count: 363

Filed under:
|
|
|

Hi All,

I am using display tag for pagiantion and display of the data in table format the code is like

             <display:column title="Select" style="width: 90px;">
             <input type="checkbox" name="optionSelected" value="<c:out value='${userList.loginName}'/>"/>
             </display:column>

             <display:column property="loginName" sortable="false" title="UserName" paramId="loginName" 
             style="width: 150px; text-align:center" href="./editUser.do?method=editUser"/>

the pagesize is one it will display one in a page and eidt page will be dispaly on click of login name,but when i go to the second page i get an error saying /views/editUser path not found.How exactly should i define the path ?

the struts-config is like

<!-- action for edit user  -->
     <action path="/editUser" name="editUserForm" type="com.actions.UserManagementAction"       
            parameter="method"          
            input="/EditUser.jsp"
            scope="request"> 
        <forward name="success" path="/views/EditUser.jsp" />
        <forward name="failure" path="/views/failure.jsp" />
    </action>

Pleas tell me how should i define the access path for display tag as on click of edit link the first page works but not the second edit

© Stack Overflow or respective owner

Related posts about java

Related posts about display