I assume the file is on the server where the applet resides, and not on the client machine?
The Apache POI library can read Excel files. You would create an HSSFWorkbook object from the file input stream, and then use the getSheet method to obtain a reference to the sheet you want to display. The sheet's getRow method gives you a reference to a row of cells, from which you can call getCell to get the contents of any particular cell.
Ping & DNS - updated with new look and Ping home screen widget
What about the powerpoint files.... Can we read them as well??
Regards<br />Sandy<br />[SCJP 5.0 - 75%]<br />[SCWCD 1.4 - 85%]<br />------------------<br />Tiger, Tiger burning bright,<br />Like a geek who works all night,<br />What new-fangled bit or byte,<br />Could ease the hacker's weary plight?
Joined: Mar 22, 2005
The POI library has limited support for PPT files as well (not nearly as good as the XLS support). Here's an introduction to what's possible.