Hi, I'm just learning Stripes and I am perhaps mistaken how it should work. I implemented the quick start guide (at http://www.stripesframework.org/display/stripes/Quick+Start+Guide) with an action that should increase both numbers:
public Resolution increase() { System.out.println("Before: " + numberOne + ", " + numberTwo); numberOne = numberOne + 1.0; numberTwo = numberTwo + 1.0; System.out.println("After: " + numberOne + ", " + numberTwo); return new ForwardResolution("/calc.jsp"); } and similarly in the JSP: <tr> <td colspan="2"> <stripes:submit name="increase" value="Increase"/> </td> </tr> But when I click on Increase, the numbers on the form do not increase. On the console, I get: Before: 0.0, 0.0 After: 1.0, 1.0 Have I misunderstandood how the framework should work? Antti ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users