java-webapp-sample
------------------

This sample shows how to use the JasperServer Web Services to run a report from a J2EE web application.

To use the sample, first compile it using the following command:

ant dist

This command produces a WAR file stored in the target directory. Just drop the WAR file into your favorite J2EE container (such as Tomcat).

The sample assumes you are running JasperServer instance at:

http://127.0.0.1:8080/jasperserver/services/repository

If you need to change this URL (for example, if you are running JasperServer Professional), you must change
the web.xml file (web\WEB-INF\web.xml) and rebuild the WAR file.

The sample application shows how to navigate the JasperServer repository, displaying only folder and report units.

On login, use a regular JasperServer account.

Click a ReportUnit to run it. If it contains input controls, they are displayed before report execution.

Note: The sample application doesn't necesarily recognize all of the types of input control that JasperServer supports.
