• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts 2 + Jasper reports

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you use this combination?

Using struts 2.1.6 with Jasper 3.5.3.

I have tried couple of solutions, non looks clean enough for me.

Googling suggests usage of struts 2 jasper plug-in, but I couldn't find it for download. Links mostly to java docs of plug-in. Was it part of 2.0.*? Where/how to download it if it can be used with version os struts I am using?

I have ended up using Sruts 2 "stream". I got it working with jasper writing directly to stream, but it, although worked fine, reported stream related errors in logs.

I am currently on temp file solution, which works fine, with no errors in log, but does not seem right.

What is your way of doing this? Do you let jasper write to stream, another simple solution I might have missed, or there is another plug-in for this?

Thanks.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's in the distro.
 
Dejan Mratinkovic
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for quick response.

I see just now how stupid my question was. I was mislead by the fact we use only limited subset of struts libs on our project, and I could not find it there.

I am just confused now why there are so many alternative solutions on various forums.

Good thing is, I have spent almost no time on this, as "issue" got resolved while I was on lunch break.

Thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic