org.apache.geronimo.samples.daytrader.web
Class TradeConfigServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.geronimo.samples.daytrader.web.TradeConfigServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class TradeConfigServlet
- extends HttpServlet
TradeConfigServlet provides a servlet interface to adjust DayTrader runtime parameters.
TradeConfigServlet updates values in the org.apache.geronimo.samples.daytrader.web.TradeConfig
JavaBean holding
all configuration and runtime parameters for the Trade application
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TradeConfigServlet
public TradeConfigServlet()
init
public void init(ServletConfig config)
throws ServletException
- Servlet initialization method.
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
service
public void service(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Overrides:
service
in class HttpServlet
- Throws:
ServletException
IOException
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.