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 ...
Get Struts 2 in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.