|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.aries.samples.ariestrader.web.prims.PingJDBCWrite
public class PingJDBCWrite
PingJDBCReadPrepStmt uses a prepared statement
for database update. Statement parameters are set dynamically on each request.
This primative uses org.apache.aries.samples.ariestrader.direct.TradeJEEDirect to set the price of a random stock
(generated by org.apache.aries.samples.ariestrader.Trade_Config) through the use of prepared statements.
| Constructor Summary | |
|---|---|
PingJDBCWrite()
|
|
| Method Summary | |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
this is the main method of the servlet that will service all get requests. |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
forwards post requests to the doGet method Creation date: (11/6/2000 10:52:39 AM) |
String |
getServletInfo()
returns a string of information about the servlet |
void |
init(javax.servlet.ServletConfig config)
called when the class is loaded to initialize the servlet |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PingJDBCWrite()
| Method Detail |
|---|
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletrequest - HttpServletRequestresponce - HttpServletResponce
javax.servlet.ServletException
IOExceptionpublic String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServlet
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletconfig - ServletConfig:
javax.servlet.ServletException
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletres - javax.servlet.http.HttpServletRequestres2 - javax.servlet.http.HttpServletResponse
javax.servlet.ServletException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||