Oracle interMedia Java Classes for Servlets and JSP API Reference
10g Release 2 (10.2)

Part No. B14300-01


Oracle interMedia Java Classes for Servlets and JSP API Reference

Oracle interMedia Java Classes for Servlets and JavaServer Pages (JSP) provides the following classes to facilitate retrieving and uploading media data from and to Oracle Database.

See:
          Description

Packages
oracle.ord.im  

 

Oracle interMedia Java Classes for Servlets and JavaServer Pages (JSP) provides the following classes to facilitate retrieving and uploading media data from and to Oracle Database.

Classes
OrdHttpJspResponseHandler Retrieves media data from a database and delivers it to a browser from a JSP page.
OrdHttpResponseHandler Retrieves media data from a database and delivers it to a browser from a Java servlet.
OrdHttpUploadFile Provides access to the contents of uploaded files and optionally loads the contents into a database.
OrdHttpUploadFormData Provides access to form-data parameters and files for form-based file uploading using HTML forms.
OrdMultipartFilter Filters the servlet request to parse the multipart/form-data encoded data.
OrdMultipartWrapper Wraps the servlet request to provide transparent access to form-data parameters and files for form-based file uploading using HTML forms.

The OrdHttpJspResponseHandler class facilitates the retrieval of media data from the database, and its delivery to a browser or other HTTP client from a JSP page.

The OrdHttpResponseHandler class facilitates the retrieval of media data from the database, and its delivery to a browser or other HTTP client from a Java servlet.

The OrdHttpUpload File class facilitates the handling of uploaded files by providing an API that applications can call to load media data into Oracle Database.

The OrdHttpUploadFormData class facilitates the processing of POST requests using the multipart/form-data format. Form-based file uploading using HTML forms encodes form data and uploaded files in POST requests using this format. The OrdHttpUploadFormData class parses the POST data and makes the contents of regular form fields and the contents of uploaded files readily accessible to Java servlets or JSP pages.

The OrdMultipartFilter class filters form-based, file-upload servlet requests whose contents are encoded in multipart/form-data format. This class wraps a request object with an OrdMultipartWrapper object that parses the content. When used with the OrdMultipartWrapper object, the OrdMultipartFilter class provides transparent access to the parameters and files in the servlet request with multipart/form-data encoding.

The OrdMultipartWrapper class wraps the HttpServletRequest object and provides access to the contents in the HTTP request that is encoded using multipart/ form-data encoding. This class provides access to the text-based form field parameters and the uploaded files.

Users of Oracle interMedia Java Classes for Servlets and JSP should be familiar with SQL, PL/SQL, Java, Java Database Connectivity (JDBC), and Oracle interMedia. See Oracle interMedia User's Guide and Oracle interMedia Reference for more information.

For more information on using interMedia in a development environment, see the following documents in the Oracle Database documentation set:

For more information on using JDBC, see Oracle Database JDBC Developer's Guide and Reference.

Oracle interMedia also provides Oracle Application Server 10g Multimedia Tag Library for JSP, a custom JavaServer Pages (JSP) tag library that lets users easily generate multimedia HTML tags in JSP pages, and upload multimedia data into interMedia objects. Multimedia Tag Library is an extension of Oracle interMedia Java Classes for Servlets and JSP that simplifies retrieving and uploading media data from and to Oracle Database in multimedia JSP Web applications. See Oracle Application Server 10g Multimedia Tag Library for JSP for more information.


Oracle interMedia Java Classes for Servlets and JSP API Reference
10g Release 2 (10.2)

Part No. B14300-01


Copyright © 1999, 2005, Oracle. All rights reserved.