This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes problem implementing iReports with servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "problem implementing iReports with servlets" Watch "problem implementing iReports with servlets" New topic
Author

problem implementing iReports with servlets

prasuna yegurla
Greenhorn

Joined: Aug 12, 2009
Posts: 3
prasuna yegurla
Greenhorn

Joined: Aug 12, 2009
Posts: 3
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
Marshal

Joined: Mar 22, 2005
Posts: 41056
    
  43
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?


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem implementing iReports with servlets
 
Similar Threads
How to call a servlet from JSF without using dispatch(url)
Jasper Report...Example
.jasper report return null values
Servlet OutputStream
how to generate dynamic reports in java