Lesson 1: Set up a text file datasource

In this section, you create a new text file to store order information.

 To set up a text file datasource
  1. Create a new blank text file.

  2. Save the file in your working directory.

    This tutorial assumes c:\MLdirect as the working directory for server-side components. Save the file as orderResponses.txt in this directory.

This file contains responses to comments. For example, orderResponses.txt can contain the following entries including tab-delimited values representing the comment_id, order_id, and order_comment:

...
786  34  OK, ship promotional material.
787  35  Yes, the product is going out of production.
788  36  No, your commission can not be increased...
...