Click here to Skip to main content
14,425,118 members
Rate this:
Please Sign up or sign in to vote.

Create a simple Java Servlet that allows you to save RSS feeds and export the results into a CSV file.


Create a simple Servlet that allows you to view a page in a browser. On the page will be a simple form for adding a new RSS feed to your “list”. This consists of a text input and Save button, which saves the inputted value into a database table. The intended value is a URL of any RSS feed. Below the form for adding a new feed will be a list of feeds that are in the database table. For each option on the list there should be an “Export” button, which when clicked will generate a CSV export of the contents of the feed.

Example Use Case:

I open the page in a browser, add a URL to the form and then see it in the list after submitting the addition. I then click the export link and get the contents of the RSS feed in CSV format.


In general, this is meant to be a quick and simple task to illustrate the concepts of Java, Servlets, web-based interaction, database interaction, formatting/using data in both XML and CSV formats, and the ability to deliver a deployable application. Partial submissions can be reviewed for overall code structure, but ideally a working set of code can be reviewed.


You may use any database, but MySQL seems simplest. Include the full working code version as well as any notes on configuration, setup, DB table scripts, and other information that would be required to implement and run it.
Peter Leow 21-Jun-14 3:17am
Homework is not question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100