Versions Compared

Key

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

...

Type Conversion Error Handling

A Simple Example

Helper base class

WebWork ships with a helper base class that makes converting to and from Strings very easy. The class is com.opensymphony.webwork.util.WebWorkTypeConverter. This class makes it very easy for you to write type converters that handle converting objects to Strings as well as from Strings.