Skip to main content

Resolutions

  • Chapter
Stripes by Example
  • 337 Accesses

Abstract

So far we’ve seen two of Stripes resolutions: ForwardResolution, which is used to specify the JSP that will be run, and RedirectResolution, which is used to perform an HTTP redirect. Though Stripes actually has seven classes that implement the Resolution interface, only a few are commonly used. This chapter will explain some advanced features of RedirectResolution and extend our knowledge to include two additional resolutions: StreamingResolution, which is used to stream data back to the client (such as text or file data), and ErrorResolution, which takes an error number (e.g., 404) and a message to send back to the client.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 24.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Brent Watson .

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Brent Watson

About this chapter

Cite this chapter

Watson, B. (2015). Resolutions. In: Stripes by Example. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0980-6_10

Download citation

Publish with us

Policies and ethics