aspose file tools
The moose likes Servlets and the fly likes  access denied (java.io.FilePermission D:\MainWorkspace\newpr   \war\DynamicReport_1242812601971_497 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark " access denied (java.io.FilePermission D:\MainWorkspace\newpr   \war\DynamicReport_1242812601971_497" Watch " access denied (java.io.FilePermission D:\MainWorkspace\newpr   \war\DynamicReport_1242812601971_497" New topic
Author

access denied (java.io.FilePermission D:\MainWorkspace\newpr \war\DynamicReport_1242812601971_497

Sanket L Shah
Ranch Hand

Joined: May 08, 2009
Posts: 49
Hi All,

I am developing one application using GWT + Servlet.
I have to use Jasper report.

I have used Dynamic Jasper report in my application.

But whenever I run my application it gives exception like...

javax.servlet.ServletException: access denied (java.io.FilePermission D:\MainWorkspace\newpr \war\DynamicReport_1242812601971_497722.java write)
at com.server.services.RunReportServlet.runReport(RunReportServlet.java:175)
at com.server.services.RunReportServlet.service(RunReportServlet.java:115)



but when I go to the path specified in the exception the file was not there... !!!

here I am giving some line of code...

JasperPrint jp = DynamicJasperHelper.generateJasperPrint(dr, ouputProcessed.layoutManager, ds);

It throws exception after this line...


Please help me...
Thank you...
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8433

"Mca Sanket Shah",
Please check your private messages for an important administrative matter


[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32644
    
    4
Too difficult a question for us beginners. Moving.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: access denied (java.io.FilePermission D:\MainWorkspace\newpr \war\DynamicReport_1242812601971_497
 
Similar Threads
access denied on pdf file
File Upload using HTML + Servlet
Jasper Report Parameters
AccessControlException when accessing Bean in JBOSS
Access denied exception in applet