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:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class TradeConfigServlet
- extends javax.servlet.http.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
Method Summary |
void |
init(javax.servlet.ServletConfig config)
Servlet initialization method. |
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
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(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Servlet initialization method.
- Throws:
javax.servlet.ServletException
service
public void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.