Hai,<br><br>I need to use one property [pageNumber] in Form Class and also initialize this variable to 1 at the first time.<br><br>I am using paging concept .so i have put two buttons called $B!V<!!W(Band$B!VA0!W!#(BIf i click any one of this function i changed pageNumber and return same page.<br>
<br>i can get the result.The problem is if i run the same index page the pageNumber is having privious value.<br><br>So i need to clear this value at the first time<br><br>$B!v(B[In teeda]$B!!(Binitialize method is called at the first time.<br>
<br>How can i acheive in SAStruts.<br><br>Can i use any Scopes..<br><br><br>This is my Action Class:<br><br><br>public String<b> index()</b> {<br>        <br>        EmployeemasterCB cb = new EmployeemasterCB();<br>        cb.paging(1, employeemasterForm.<b>pageNumber</b>);<br>
        employeemasterItems = employeemasterBhv.selectPage(cb);<br>        employeemasterForm.isNext = employeemasterItems.isExistNextPage();<br>        employeemasterForm.isPrev = employeemasterItems.isExistPrePage();<br>
        return &quot;list.jsp&quot;;<br>    }<br><br>    @Execute(validator = false)<br>    public String prev(){<br>        employeemasterForm.<b>pageNumber </b>-= 1;<br>        return &quot;/employeemaster/&quot;;<br>    }<br>
    <br>    @Execute(validator = false)<br>    public String next(){<br>        employeemasterForm.<b>pageNumber </b>+= 1;<br>        return &quot;/employeemaster/&quot;;<br>    }<br><br><br><br><br><br>Regards,<br>$B%H%^%9(B<br>