Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jasper Report on server

 
Jose Campana
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there Ranchers!
I wonder if I could trouble you with a Question I have about jasper reports. Here it goes:

How can I place my compiled jasper report(the .jasper file) on a server?

I can generate jasper reports placing my .jasper file in a directory in a local machine, But I need to know how to place it on the Internet.
So that I can Deploy it as part of my war file

Is this possible? How can I accomplish it?

Please help me.

Thanks in advance

Jose!
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will move this to our "Other Open Source Projects" forum, where you might get an answer.
 
Jose Campana
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you!

I hope somebody can help me !
 
Eugene Abarquez
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You just place your jasper file inside the classpath of your project directory and package it with your war file. Then you just deploy the war in the server. Of course you have to properly reference the jasper file with the correct path.
 
Jose Campana
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Day to everyone reading this post!

Sorry I didn't reply earlier, Yesterday I solved the problem. you were right, I just to place the .jasper file in the classpath directory of my application, and BINGO ! it worked just fine.

Once again, thank you very much for your time,

Good luck Ranchers !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic