it.eng.spagobi.engines.jasperreport
Class JasperReportServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byit.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

Author:
Zoppello TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
See Also:
Serialized Form

Constructor Summary
JasperReportServlet()
           
 
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
 

Constructor Detail

JasperReportServlet

public JasperReportServlet()
Method Detail

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: