Jump to content

problems with jasperreports with html format


dr_pompeii

Recommended Posts

Dear members

 

i work with ireport 1.3.2

if i create a report preview to format html, work fine

 

now when i integrate this with spring i recieve these weird results

 

see both photos, the data is here, but appear missing images that i dont have any reference to the report

 

how i can fix this?

 

thanks for advanced

 

p.d_ same case for opera

 

[file name=errorfirefox.png size=64043]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/errorfirefox.png[/file] [file name=errorfirefox.png size=64043]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/errorfirefox.png[/file]

 

Post edited by: dr_pompeii, at: 2007/05/01 13:53

 

Post edited by: dr_pompeii, at: 2007/05/01 13:54

Post edited by: dr_pompeii, at: 2007/05/01 13:55

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

i just discover that

when i create a html report with ireport it creates for example these 2 files

 

the html itself

reportehistorialsaldofisicoalamcenrangosfechas.htm l

and a folder

reportehistorialsaldofisicoalamcenrangosfechas.htm l_files

 

what contains the folder??, one unique file a, photo px.gif

 

so in the html code appear a lot of these bold part

 

src="reportehistorialsaldofisicoalamcenrangosfechas.html_files/px"

 

Code:

<td><img alt="" src="reportehistorialsaldofisicoalamcenrangosfechas.html_files/px" style="width: 38px; height: 1px;"/></td>
<td><img alt="" src="reportehistorialsaldofisicoalamcenrangosfechas.html_files/px" style="width: 50px; height: 1px;"/></td>
<td><img alt="" src="reportehistorialsaldofisicoalamcenrangosfechas.html_files/px" style="width: 5px; height: 1px;"/></td>
<td><img alt="" src="reportehistorialsaldofisicoalamcenrangosfechas.html_files/px" style="width: 5px; height: 1px;"/></td>
<td><img alt="" src="reportehistorialsaldofisicoalamcenrangosfechas.html_files/px" style="width: 58px; height: 1px;"/></td>

 

of course that with springmvc , i use only the jasper file

and org.springframework.web.servlet.view.jasperreports .JasperReportsHtmlView

 

so what is missing????

 

 

pls help

Link to comment
Share on other sites

pls see my photo attached

 

the part of html option to export

is White Page background now is selected (by default no)

and the next option is disabled now (before enabled by default)

Is Using Images To Align

 

how i can do this by code??? , is there an option there???

 

thanks for advanced

 

Post edited by: dr_pompeii, at: 2007/05/01 22:51 [file name=option.png size=52791]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/option.png[/file]

Post edited by: dr_pompeii, at: 2007/05/01 22:51

Link to comment
Share on other sites

Hi,

 

You should take a look at the supplied /demo/samples/webapp sample that comes with JasperReports project distribution and see that there is an image servlet you should configure in your application in order to deliver the images found in each report.

 

I hope this helps.

Teodor

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