it.eng.spagobi.engines.jasperreport
Class JasperReportServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
it.eng.spagobi.engines.jasperreport.JasperReportServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class JasperReportServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
Method Summary |
java.sql.Connection |
getConnection(java.lang.String connectionName)
This methos see in spagbi.xml config file ( in section if a connection is configured
if null is pass to this method a default datasource is returned if exist |
void |
init(javax.servlet.ServletConfig config)
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class javax.servlet.http.HttpServlet |
service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JasperReportServlet
public JasperReportServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
getConnection
public java.sql.Connection getConnection(java.lang.String connectionName)
- This methos see in spagbi.xml config file ( in section if a connection is configured
if null is pass to this method a default datasource is returned if exist
- Parameters:
connectionName
-
- Returns: