Homework 2
CS520, Spring 2009

Due: Friday, April 17

Please upload your files to CSNS. The files should include all the source code, documentation (if any), and an HTML file hw2.html, which contains a link to your application on the CS3 server. Note that file uploading will be disabled automatically after 11:59PM of the due date, so please turn in your work on time.


[Readings]

[Blog]

For this assignment, you are going to implement a simplified blog application. If you have never written a blog before, you may want to check out some blogging sites like http://www.blogger.com/ and see what blogs are and how blog applications work in general.

To receive full credit for this assignment, your application must use the MVC architecture. In particular, servlets cannot be used to generate HTML content, and no scripting elements are allowd in JSP pages.

Welcome to CS520 Blogs
Instructor's Announcements

Friday, April 10, 2009

Homework 1 Due Tonight at 11:59PM
Please upload your files on time.
Posted by cysun at 4PM, 2 Comments

Wednesday, April 1, 2009

Homework 1 Posted
Homework 1 is posted on the class home page. Please check it out and let me know if you have any questions.
Posted by cysun at 1:21PM, 0 Comments

Note that a blog entry consists of a title, a message, an author, the date and time the entry was created, as well as zero or more comments. The blog entries are displayed in reverse chronological order with the most recent entry displayed first. For simplicity, in this assignment we will leave out the feature that allows a user to create new blog entries. However, you should have at least two pre-created entries in each of the blogs.

Comments on Homework 1 Due Tonight at 11:59PM
cs520stu31 said:
Can we get an extension?
4:30PM, April 10, 2009

cysun said:
No.
5:01PM, April 10, 2009
Leave you comment:

Username:

Note that a comment consists of an author, a message, and the date and time the comment was posted. Comments are displayed in the order in which they are posted. After a user adds a comment by clicking the Add Comment button, the comment should be displayed on the left-hand side of the comments page, and the comment count on the blog page should be updated accordingly.

[Deployment on CS3]

To receive full credit for this assignment, you must deploy your application on the CS3 server. If you are using Dynamic Web Project in Eclipse, deployment only takes two simple steps:

Note that subfolders must be preserved during file transfer.