Topic: [Help] Can anyone help me on this tiny struts application?

  Print this page

1.[Help] Can anyone help me on this tiny struts application? Copy to clipboard
Posted by: mt78
Posted on: 2003-06-19 02:29

i am using Struts Framework to work on a application that to calculate the interest.
But don't know why it can't return the correct value.Juts can return NULL whatever you insert what in the text field of the index.jsp.
Please help me on the difficulties,Thank you very much.

>>>the source code is in the attachment.

source.zip (2.97k)

2.Re:[Help] Can anyone help me on this tiny struts application? [Re: mt78] Copy to clipboard
Posted by: JiaYun
Posted on: 2003-06-27 08:00

InterestAction.java

32th line, add this:

req.setAttribute("INTEREST", new Double(interest));


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923