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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.