Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

So for the HelloWorldAction class to automatically receive the userName value it must have a public method setUserName (note the JavaBean convention discussed in tutorial Hello World).

For the example application associated with this tutorial add the following Java code to class HelloWorldAction.

...