O'Reilly logo

Stripes by Example by Brent Watson

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

© Brent Watson 2015
Brent WatsonStripes by Example10.1007/978-1-4842-0980-6_14

14. File Uploads

Brent Watson 
(1)
316 Marine Ave, Brooklyn, USA
 
 
Brent Watson
As with Chapter 12, I suggest you skip this chapter and come back to it only if you find yourself needing file upload capabilities in your application.
Note
Before proceeding, either the Apache Commons FileUpload jar ( http://commons.apache.org/fileupload/ ) or the COS jar ( www.servlets.com/cos/ ) are needed to perform a file upload in Stripes. Add either one of these to your application as a jar file. Stripes is smart enough to use whichever one is available.
In addition, you need to create a local directory to which you can upload your files (e.g., c:\myfileuploads ...

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