Skip to content

dohyun97/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Calculator

When you use this url http://localhost:8080/Kim-OsapCalc-v4/Osap , it'll show calculate result with the values of prinipal, period and interest set by XML

F4E87053-9777-4A60-A5D6-E191E4096D49_4_5005_c

http://localhost:8080/Kim-OsapCalc-v4/Osap?period=12&?principal=1234&interest=10 shows the monthly payment result with the value of period=12&?principal=1234&interest=10 E96EE4B7-974C-465C-9E1C-8DC1CABB7F3E_4_5005_c

I made Listener to monitor the "principal" value across all requests and sesions. It calculates the maximum principal across all principal values and keep this value in memory. You can see maximum principal in http://localhost:8080/Kim-OsapCalc-v4/admin

A5AC6321-957A-4304-8C71-FC1AEFCBC67C_4_5005_c

In the http://localhost:8080/Kim-OsapCalc-v4/UI.html "Principal" and "Period" should be greater than 0, "Interest rate" should be between 0 and 100. If not, you will get alret and red mark beside name. 91319A2D-2213-407C-BA9A-0BFFCD322581 FCF51E65-4E70-447B-AF60-0CB504D5B256

Once you click the Submit button, it'll show result and can click the recompute button. The recompute button will restart B700B73F-EF79-4476-82B7-65404ECFB0EB FF611CA2-B166-4CAB-928E-7AD337CDE0AD

Also, you can submit by AJAX. 15FF55A8-B6FE-4E62-9777-BAB3D2400599