O'Reilly logo

Struts 2 in Action by Scott Stanlick, Chad Michael Davis, Don Brown

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Results in detail

This chapter covers

  • Working with results
  • Dispatching and redirecting requests
  • Building custom results
  • Using results with Velocity or FreeMarker

This chapter wraps up part 3. If you recall from the early chapters, the result is the MVC view component of the Struts 2 framework. As the central figure of the view, you might be wondering why we started with two chapters on the Struts 2 tag API and left the result for last. Easy. For common development practice, you don’t need to know much about the result component itself. In fact, if you use JSP pages for your results, you don’t even need to know that the framework supports many different types of results, because the default result type supports JSPs. But the framework ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required