|
||||||||||
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
applications.basics.HTMLtable
public class HTMLtable
Constructor Summary | |
---|---|
HTMLtable()
|
Method Summary | |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
public void init(ServletConfig config) throws ServletException { super.init(config); setHost(getInitParameter("host")); setUser(getInitParameter("user")); setPassword(getInitParameter("password")); setDatabase(getInitParameter("database")); setQuery(getInitParameter("query")); } |
java.lang.String |
getDatabase()
Get the value of database. |
java.util.Vector |
getHeader()
|
java.lang.String |
getHost()
Get the value of host. |
java.util.Vector |
getNextRow()
|
java.lang.String |
getPassword()
Get the value of password. |
java.lang.String |
getQuery()
Get the value of query. |
java.lang.String |
getUser()
Get the value of user. |
void |
setDatabase(java.lang.String v)
Set the value of database. |
void |
setHost(java.lang.String v)
Set the value of host. |
void |
setPassword(java.lang.String v)
Set the value of password. |
void |
setQuery(java.lang.String v)
Set the value of query. |
void |
setUser(java.lang.String v)
Set the value of user. |
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, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLtable()
Method Detail |
---|
public java.lang.String getQuery()
public void setQuery(java.lang.String v)
v
- Value to assign to query.public java.lang.String getHost()
public void setHost(java.lang.String v)
v
- Value to assign to host.public java.lang.String getUser()
public void setUser(java.lang.String v)
v
- Value to assign to user.public java.lang.String getPassword()
public void setPassword(java.lang.String v)
v
- Value to assign to password.public java.lang.String getDatabase()
public void setDatabase(java.lang.String v)
v
- Value to assign to database.public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
public java.util.Vector getHeader()
public java.util.Vector getNextRow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |