|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectHttpServlet
com.knowgate.http.HttpQueryServlet
public class HttpQueryServlet
Get Query By Form results
QueryByForm| Constructor Summary | |
|---|---|
HttpQueryServlet()
|
|
| Method Summary | |
|---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Get Query By Form results throught response output stream. |
void |
init()
Initialize Servlet Parameters Take Database Driver, Conenction URL and User from /WEB-INF/web.xml. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpQueryServlet()
| Method Detail |
|---|
public void init()
throws ServletException
Initialize Servlet Parameters
Take Database Driver, Conenction URL and User from /WEB-INF/web.xml.
ServletException
UnavailableException - If jdbcDriverClassName parameter is not found
and driver property at hipergate.cnf is not found or if jdbcURL parameter
is not found and dburl property at hipergate.cnf is not found.Environment
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws java.io.IOException,
java.io.FileNotFoundException,
ServletException
Get Query By Form results throught response output stream.
queryspec - Name of XML file containing the Query Specificationcolumnlist - List of comma separated column names to retrievewhere - SQL WHERE clause to applyorder - by SQL ORDER BY clause to applyshowas - Output format. One of { "CSV" (comma separated), "TSV" (tabbed separated), "XLS" (Excel) }
java.io.IOException
java.io.FileNotFoundException
ServletException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||