Jump to content

JRViewer problem


marianela

Recommended Posts

Hi everybody¡¡

 

I hope someone can help me on this issue...

 

I create several reports using Ireport and Jasper Report 1.2.7; I call them from a Jdeveloper 10.1.3.1.0 and everything works fine...

The problem start when we deploy our application into the application server, I can't visualize the reports¡¡ I click on the correponding link but nothing happend... no even an error message :ohmy: ¡¡¡

 

I really don't know what could be the problem...Pleaasee, any idea?

 

I'm showing the reports just using the JRViewer...

 

Pleaseee¡¡¡ any suggestion will be appreciate...

 

Thanks in advance...

Regards,

Nelita ;)

 

P.S. Maybe you can take a look on my code in Jdeveloper to call the report... [file name=ReportCall.doc size=23552]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/ReportCall.doc[/file]

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi,

 

I assume it is about deploying your reports in a Web application. If this is the case, then you need to understand how Web applications work. You can probably find your report viewers being open on the server machine.

 

I suggest you take a look at the supplied /demo/samples/webapp sample found in our project distribution package.

 

I hope this helps.

Teodor

Link to comment
Share on other sites

Dear Teodord,

 

Thanks a lot for you really quick answer, I really appreciate your help¡¡¡

 

I was looking at the samples that you told but I couldn't find the solution to my problem :(

 

If it isn't too much trouble, I'll really appreciate if you can tell me if this code is correct in order to deploy the report at viewer..

//------------------

JasperReport jasperReport;

jasperReport = (JasperReport)JRLoader.loadObject(strAux);

Map parameters = new HashMap();

parameters.put("SUBREPORT_DIR",path);

JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, conn);

 

JasperViewer reporte = new JasperViewer(jasperPrint, true);

reporte.setTitle("Impresión del Reporte de Servicios");

reporte.show();

//--------------------------

 

Should I use a JRViewer object instead?¡¡¡¡¡

Thanks a lot in advanced... I'll be waiting for your answer

Regards,

Nelita [file name=ReportCall-754ad6de536f26f288bb8449dcb4c889.doc size=22016]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/ReportCall-754ad6de536f26f288bb8449dcb4c889.doc[/file]

Link to comment
Share on other sites

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...