• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Sanket L Shah
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Mca Sanket Shah",
Please check your private messages for an important administrative matter
 
Campbell Ritchie
Marshal
Posts: 52565
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Too difficult a question for us beginners. Moving.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!