i-net Clear Reports

Implementation as browser / servlet architecture

What would you like to do? You can use our servlet that is included in the zip file that you downloaded, or you write your own servlet, or integrate it in your own servlet.

1. Integration of i-net Clear Reports in a browser / servlet architecture

Servlet

If you like to write your own servlet or you like to integrate it in your servlet then you need to do the following:

All parameters that are received from the client must be past over to the engine (see API of com.inet.report.Engine) and thus the report is passed back to the client.

Browser

The client is the report viewer Java applet in a browser. The HTML page which contains the report viewer Java applet comes from the Java server application. You can request this HTML page with the report viewer Java applet that presents the requested report in the following ways:

  • enter the request directly in the address field of your browser
  • put the request as a link in an HTML page,
  • call a report from an applet

Examples:

http://ClearReportsServer/servlet/com.inet.report.ReportServlet?
		http://Reports/sampleSQL.rpt&DLL=pdssql.dll&host=dbSrv&catalog=dbCatalog
 
http://ClearReportsServer/servlet/com.inet.report.ReportServlet?
		http://Reports/sampleORA.rpt&DLL=pdsora7.dll&host=dbOra
 
http://ClearReportsServer/servlet/com.inet.report.ReportServlet?
		file:C:/sample.rpt&DLL=pdsora7.dll&host=dbOra&prompt0=car&sf=24

(See more examples for a report request and see url parameters)

2. Using i-net Clear Reports as servlet

If you do not have a servlet in which you can integrate i-net Clear Reports or you don't like to implement a servlet you can use i-net Clear Reports as servlet and you only need to request the report in the browser.

Servlet

In this case you use i-net Clear Reports as servlet without the integration in your servlet. To do this follow the steps of the servlet installation.

After you have installed the servlet i-net Clear Reports you can request reports from the browser.

Browser

The client is the report viewer Java applet in a browser. The HTML page which contains the report viewer Java applet comes from the Java servlet. You can request this HTML page with the report viewer Java applet that presents the requested report in the following ways:

  • enter the request directly in the address field of your browser
  • put the request as a link in an HTML page,
  • call a report from an applet

Examples:

http://ClearReportsServer/servlet/com.inet.report.ReportServlet?
		http://Reports/sampleSQL.rpt&DLL=pdssql.dll& host=dbSrv&catalog=dbCatalog
 
http://ClearReportsServer/servlet/com.inet.report.ReportServlet?
		http://Reports/sampleORA.rpt&DLL=pdsora7.dll&host=dbOra
 
http://ClearReportsServer/servlet/com.inet.report.ReportServlet?
		file:C:/sample.rpt&DLL=pdsora7.dll&host=dbOra&prompt0=car&sf=24

(See more examples for a report request)

See Also:


i-net software strives to provide accurate product documentation. Please give us your feedback using the form below.
NOTE: This form is for documentation feedback only. For technical assistance, please send an email to clearreports@inetsoftware.de.

 

© Copyright 1996 - 2012, i-net software; All Rights Reserved.