Hi,
I'm new to JSP and facing an issue with the following program.
Program files:
contains 3 jsp files -
a) index - links to the form page
b) Form page - takes input, from the user, into the text box and on hitting the submit button navigates to the
c) ReadForm page - which displays the values input on the form page (and to also display the calculated result of the input values,
which does not happen)
Issue faced:
The (String) values input - principal, interestrate, tenure - on the Form page is converted to int on the ReadForm page to facilitate calculation & display of the simple interest amount. While the expression tags relating to the instance variables
display the (converted to int) values, they do not do so for the method
invoked (which should calculate & return the simple interest amount). Instead, just displays the principal value again!.....full code shown below under ReadForm.jsp
Could any of the forum expert(s) give a solution as i'm unable to resolve this.
thanks,
Sudhir
index.jsp
Form.jsp
ReadForm.jsp