Jump to content
Changes to the Jaspersoft community edition download ×

JasperReport and XLS


Recommended Posts

By: mulder44 - mulder44

JasperReport and XLS

2003-07-23 10:21

I use JasperReport 0.5.1 to generate XLS.

 

All is great and my xls file is correctly generated.

 

On my application, I make a redirection on this file with "application/vnd.ms-excel" as content-type.

It is working with IE but not with Netscape (4x, 7x)

 

The content type seems incorrect with Netscape...

 

Do you have an idea ?

 

Thanks

 

 

 

 

 

By: Chuck Deal - cdeal

RE: JasperReport and XLS

2003-07-23 11:13

do a google search on MIME types and excel. You'll find at least three variants. You may need to use all three...

 

 

 

 

By: rolas - rolas

RE: JasperReport and XLS

2003-08-12 11:45

my problem is with the same method i wanna show it on screen but appear this:

 

dori.jasper.engine.JRException: No output specified for the exporter.

 

can you help me please, i´m desperte :s

 

 

 

 

By: Teodor Danciu - teodord

RE: JasperReport and XLS

2003-08-13 00:03

 

Hi,

 

The error message tells you that you did not provide

any destination for the XLS exporter to put the

resulting document into.

 

If you want to export to a file, provide a value for

the OUTPUT_FILE_NAME or OUTPUT_FILE parameters

(see the samples).

If you are in Web environment, you should export to

the response output stream using the

OUTPUT_STREAM parameter of the exporter

(see the html.jsp file from the "webapp" sample.

There we export HTML content using the

OUTPUT_WRITER parameter, but things should be

similar with XLS content and the output stream).

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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