views:

33

answers:

0

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 on click of edit 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