THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- When the action is called, its
setYourName()
setter is called with the contents of the form field namedyourName
. - After the action has been called (which is when its execute() method returns), WebWork has two options. If ERROR is returned, WebWork will return page03-error.jsp; if SUCCESS, page03-success.jsp. Just as in the last lesson, the <ww:property> tag calls the action's getter (in this case,
getYourName()
).
Lesson 2 - An html form with no data | Lesson 4 - An html form with data, without getters or setters