CSCI 4230
 Internet Application Development
 Spring 2001
 Homework #7

Due date: April 18, 2001.

(1)  This is a more traditional programming assignment.  Write a highly simplified ASP application (one or more ASP/HTML programs) to allow users to submit and view URL in the following manner.  Your front page (h7.html):

Click on the 'view' link:

This is the case since no URL has been stored in the database.  Going back to 'main' and then 'submit':

The user typed in the URL http://www.yahoo.com and submit it.  Note that email is not displayed but is stored in the database anyway.

Dr.Girratano then submitted this link, note his email was not submitted:

The submission created an error because no page can be retrieved from the URL:

More submission by Yue: http://sce.uhcl.edu/yue

Now, Dr. Davari submitted the same url: http://sce.uhcl.edu/yue

Since the URL http://sce.uhcl.edu/yue had already been submitted, an error message was displayed:

Yue submitted the url: http://sce.uhcl.edu/yue/courses/resources/DynamicHTML/AnIntroductionToDynamicHTML.html.

And more submission: http://cnnfn.com.  This submission had no name or email.

The user went to the view page.  Note that four URL were displayed.  The links were shown with submitters, if available.  It also show the time the page was cached in the database.  The user may view the cached page or the source code of the cached pages.

The user selected the 'page' link of CNNfn (no submitter).  Note that images are not stored and may thus be missed:

The user selected the 'source' link of CNNfn (no submitter):

Note that the title of the page should be stored in the database.  For example,

submitting http://sce.uhcl.edu/yue/courses/csci4230/Spring2001/h7notitle.html

which has no <title>:

Viewing the URL:

Note that the URL instead of the title is displayed for h7notitle.html.

Write your program as close to the screen shots as possible.  To grab a web page, you may use AspTear , which has already been installed in voyager.  You may want to set the FollowRedirects property of ASPTear to better grab a Web page.

Turn in program listings, screen shots and your homework URL.