ECT 433: Survey of Web Programming Technologies
Autumn 2003
Assignment 2
Using a bean
Due Monday October 6 before 11:30pm
Summary
For this assignment, you will use a Java bean that provides the
logical calculation for running a simple currency conversion
application.
Basic application
Download and study the starter folder for
this assignment. This folder contains files to create the
CurrencyConv bean and a demonstration JSP file (convert.jsp) that uses
all of its functionality. We will review how this file works in
class.
Develop a Web application that allows a user to specify the following:
- A monetary amount
- A currency that the specified amount is in
- A currency in which the user would like to know the
equivalent amount
The program should then respond with the equivalent amount.
Additional specifications
- The application should minimize user errors such as allowing the user to select from possible currencies rather than typing in the name.
- The application should check for legal amounts and provide a
helpful message if the amount is not valid.
- The application should report the result while also
confirming the specified currencies and starting amount. Use
the abbreviations to write out the conversion result.
- Provide some means for allowing the user to enter a new
amounts and currencies for conversion.
- Call the initial access file convert.jsp.
- Use a unique name (e.g. a login id) to name your folder.
Submission
You should submit a zip file that includes the contents of your web
application files. Use the assignment submission application on the
Distance
Learning Web site.
If you are completing this assignment with one other student, make
sure both names are commented in all html and jsp files. Only one
submission is needed.