Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Applet generating a ms word doc in Macintosh

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i generated an applet where some data has been written to a ms word doc, and after clicking submit button the word doc should open with the text givn,
this everything is working fine in windows 2000
when it comes to macintosh os x 10.2.3, applet is coming and doing its functionality but the word doc is not opening, saying that "exception reading file, system cannot find the file specified.
can anyone guess what might be the problem..
thanks
srinivas
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Shrinivas,

when it comes to macintosh os x 10.2.3, applet is coming and doing its functionality but the word doc is not opening, saying that "exception reading file, system cannot find the file specified.


The problem is of Volume Name of HDD. Mac OS X needs the full path including the Volume name. Try to get the volume name of the HDD using the getAbsolutePath method.
Hope this helps.
 
    Bookmark Topic Watch Topic
  • New Topic