Jump to content
We've recently updated our Privacy Statement, available here ×

Standalone Jasper viewer (JasViewer), to view design reports from iReport


danielferreira

Recommended Posts

Hi all, hope you guys dont mind posting this here, but here it goes...

 

This is a Viewer for jasper reports with the following main features:

 - ability to be easily be called from other apps

 - prompt user for parameters

 - suport dynamic parameters (from sql peace of code)

 

Now that we have it up and running (still very young) we want to give it away to the comunity and its called JasViewer.

https://sourceforge.net/projects/jasviewer/

 

parameters example

example

java -jar JasViewer.jar -h

ARGUMENTS:	 <empty> - loads JasViewer normally	 -h, -help - prints help	 -d, -driver <name of driver> - jdbc driver name	 -c, -connection <the given connection string> - passes jdbc connection string	 -u, -user <username> - username of the database connection	 -pw, -password <password> - password of the database connection	 -p, -path <default path (opening files)> - passes jdbc connection string	 -r, -report <default path (to the given jasper file)> - Loads a report with extencion .jasper

Example using a postgresql connection

java -jar JasViewer.jar -d org.postgresql.Driver -c jdbc:postgresql://localhost:5432/databasename -u dbusername -pw dbpassword

 

Example using odbc connectionjava -jar JasViewer.jar -c jdbc:odbc:DSNAME

Hope someone will find it usefull



Post Edited by danielferreira at 08/11/2011 10:44
Link to comment
Share on other sites

  • 4 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...