jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes Files processing on server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Files processing on server" Watch "Files processing on server" New topic

Files processing on server

Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 127
We have a swing based application which gives an option to the user to browse and select an excel sheet from the local file system. This excel sheet will contain names of various files and their path on the local filesystem.

This excel sheet I am reading using POI. Once the sheet is selected it'll be read using POI and all the files from the local file system (specified in the excel sheet), will be imported into the documetum repository.
There is some DFC code in the Swing application which does this. All this is working fine.

Now, instead of the Swing application I want to do it using web interface. So there'll be a browse button in the JSP page from where user can select the excel sheet. But the problem is that now since the DFC code is in the server (and not on the client as earlier), how to go about it? The excel sheet and the files which need to be imported are on the client while the DFC code which processes it is on the server.
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

HTML/JSP will be a poor match for your requirements. There's no way to do multiple file upload and returning a list of files for the user to upload would be tedious.
Why do you want to use a web interface in the first place? Would an applet or Java Web Start application fit those requirements?

[How To Ask Questions On JavaRanch]
I agree. Here's the link: http://aspose.com/file-tools
subject: Files processing on server
It's not a secret anymore!