com.ferri.servlet
Class ServletExcel
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ferri.servlet.ServletExcel
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.springframework.context.ApplicationContextAware
public class ServletExcel
- extends javax.servlet.http.HttpServlet
- implements org.springframework.context.ApplicationContextAware
Servlet que escolta les crides per generar documents excel de Factures, possant-los al OutputStream de la response.
- Author:
- dferri
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, 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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
locations
private String[] locations
applicationContext
private org.springframework.context.ApplicationContext applicationContext
facturaService
private FacturaService facturaService
ServletExcel
public ServletExcel()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
getFacturaService
public FacturaService getFacturaService()
- Returns:
- the facturaService
setFacturaService
public void setFacturaService(FacturaService facturaService)
- Parameters:
facturaService
- the facturaService to set