public class HttpQueryServlet
extends javax.servlet.http.HttpServlet
Get Query By Form results
QueryByForm
,
Serialized FormConstructor and Description |
---|
HttpQueryServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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.
|
public void init() throws javax.servlet.ServletException
Initialize Servlet Parameters
Take Database Driver, Conenction URL and User from /WEB-INF/web.xml.init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
javax.servlet.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(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, java.io.FileNotFoundException, javax.servlet.ServletException
Get Query By Form results throught response output stream.
doGet
in class javax.servlet.http.HttpServlet
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
javax.servlet.ServletException