Summary


In this chapter, an application was shown demonstrating the use of the FileUpload component to add file uploads to a web application. In the next chapter, this will be flipped around to look at a library intended to help a client application download data from a web server.

Project Ideas

Use FileUpload in conjunction with the FTP component of the Net package (described in Chapter 4, "Net") to allow users to post files to an FTP server via a browser.

Create a web version of a file system browser. Add security and mechanisms for implementing common file system commands such as move, copy, rename, and delete. Use FileUpload to add file upload capability.

Use the Codec package (described in Chapter 12, "Codec") to encode files stored on disk uploaded via FileUpload.

Write a program to examine the different file upload characteristics as provided by as many different browsers as possible (e.g., Mozilla Netscape, Mozilla Firefox, different versions of Internet Explorer for Mac OS and Windows, Lynx, Mac OS X Safari, Opera . . .). Add performance metrics to compare different browsers. Does the servlet container (e.g., Apache Jakarta Tomcat) affect the performance?




    Apache Jakarta Commons(c) Reusable Java Components
    Real World Web Services
    ISBN: N/A
    EAN: 2147483647
    Year: 2006
    Pages: 137
    Authors: Will Iverson

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net