public class HttpBLOBServlet
extends javax.servlet.http.HttpServlet
Send LONGVARBINARY database field to HttpServletResponse OutputStream
Constructor and Description |
---|
HttpBLOBServlet() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Send LONGVARBINARY database field to HttpServletResponse OutputStream
|
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
Send LONGVARBINARY database field to HttpServletResponse OutputStream
doGet
in class javax.servlet.http.HttpServlet
nm_table
- Name of table holding longvarbinary field.response
- java.io.IOException
java.io.FileNotFoundException
javax.servlet.ServletException