eg..
Expand|Select|Wrap|Line Numbers
- public class AccountsCenterAction extends AbstractReportAction {
- private double closingBal;
- public String method1() {
- //stmnts;
- }
- public String method2() {
- //stmnts;
- }
- public double getClosingBal() {
- return closingBal;
- }
- public void setClosingBal(double closingBal) {
- this.closingBal = closingBal;
- }
- }
on saving page1.ftl, i set the value of closingBal = 2300 and goes to method1().
on taking page2.ftl, i go to method2(). i need to get the value of closingBal =2300 in method2()..but im getting closingBal=0.0
how can i retain the value of closingBal when calling from another ftl..?