com.croftsoft.apps.retirement
Class RetirementServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.croftsoft.apps.retirement.RetirementServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public final class RetirementServlet
- extends HttpServlet
Retirement calculator servlet.
- Since:
- 1999-08-15
- Version:
- $Id: RetirementServlet.java,v 1.2 2007/09/30 22:32:25 croft Exp $
- See Also:
- Serialized Form
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetirementServlet
public RetirementServlet()
calculateRequiredAnnualInvestment
public static final double calculateRequiredAnnualInvestment(double desiredSavingsInterestIncome,
double yearsOfSaving,
double investmentInterestRate,
double savingsInterestRate,
double taxRate,
double inflationRate)
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo
in interface Servlet
- Overrides:
getServletInfo
in class GenericServlet
init
public void init(ServletConfig servletConfig)
throws ServletException
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
doGet
public void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
IOException
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
IOException
destroy
public void destroy()
- Specified by:
destroy
in interface Servlet
- Overrides:
destroy
in class GenericServlet
CroftSoft Apps Javadoc (2008-09-28 21:15:07)