Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem implementing iReports with servlets

 
prasuna yegurla
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
prasuna yegurla
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and when i am tring to run this it is giving following exception and i kept the .jasper file in the current folder ...i tried putting ./ before file name also plase help....
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please refrain from using big font sizes for complete posts; they're meant to highlight short excerpts. Also, in the future please UseCodeTags. It's unnecessarily hard to read the code without them, making it less likely that people will bother to do so.

... in the current folder...

Web apps have no concept of a working directory. The way you're loading the file it needs to be present in the classpath of the web app; is that the case?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic