aspose file tools*
The moose likes JSP and the fly likes Regarding Excel sheel in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Regarding Excel sheel in jsp" Watch "Regarding Excel sheel in jsp" New topic
Author

Regarding Excel sheel in jsp

Harish Chandra Durgapal
Greenhorn

Joined: Mar 01, 2006
Posts: 14
Hi All,
I want to open a excel file on click of an hyperlink in a jsp
page.I have to open the excel file and show open dialog box
with a defaulf directory(say C:\TEST) on click.So that user can select any excel file under that directory.
Please guide how to to that.

Thanks
Harish.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Where do the Excel sheets reside; on the client's machine or are they up on the server?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Harish Chandra Durgapal
Greenhorn

Joined: Mar 01, 2006
Posts: 14
Its on any folder at server.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

You would need to write a component that can read files that reside outside of your file system, present these files in a web-page, then, each file in the list should be represented by a hyperlink that points to a servlet which can stream the file to the client.

There is nothing in the Servlet or JSP APIs for launching true OS dialog boxes on the client machine.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Regarding Excel sheel in jsp