954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

small Conversion web application using JSP action elements and JavaBean.

Hello every body I m new in this site, I m getting some difficulties to solve the following problem please help out me.

Problem Statement:

You are required to write a small Conversion web application using JSP action elements and JavaBean.

This application contains one html file (index.html) one JSP file (result.jsp) and
one JavaBean.

From index.html file, user will enter a number in text field and select its option from drop down list and the result will be displayed on result.html file.

The result.jsp file must use JSP action elements to evaluate the result of index.html file. You must use JavaBean class for this purpose.


Sample output of index.html



When user will enter the weight in text field and select its option from the drop-down list then result will be displayed on result.jsp.

Similarly, when user will enter the temperature in text field and select its option from the drop-down list then result will be displayed on result.jsp.

The formula to convert Fahrenheit temperature to Celsius:
celsius = 5 * (fahrenheit - 32) / 9

The formula to convert Celsius to Fahrenheit:
Fahrenheit = ( 9*Celsius/5 + 32)

The formula to convert Gram to Kilogram:
Gram = kilogram/1000

The formula to convert Kilogram to gram:
kilogram = gram*1000

balquees
Newbie Poster
1 post since Jun 2009
Reputation Points: 10
Solved Threads: 0
 
peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

Welcome balquees.

Read this http://www.daniweb.com/forums/announcement17-4.html before you post your problem.

Did you work out on your problem? If yes then post your code so we can help you. Put your source code - which is surrounded by code tag. See # icon at top of editor.

__avd
Posting Genius (adatapost)
Moderator
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You