Tip: Leveraging Struts2 Type Conversion
Aug 19, 2007, 08:00 (0 Talkback[s])
(Other stories by David DeWolf)
"Type conversion is the process by which type-agnostic data is
converted into more complex objects. These strategies are typically
used in web applications to translate request parameters (strings)
into the objects they represent. Although many web frameworks
provide robust type conversion frameworks, many developers remain
unaware of their powerful advantages and the simplicity with which
they can be used.
"Struts2 is one example of a web framework that provides a
conversion approach that assists in translating request parameters
into complex bean properties..."