File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Accessing files across a network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Accessing files across a network" Watch "Accessing files across a network" New topic
Author

Accessing files across a network

George Larry
Ranch Hand

Joined: Nov 07, 2001
Posts: 52
I'm developing an application that will be used on a semi-large intranet.
There are multiple servers and each of them share a similar cvs file that gives information relative to itself. Every file is located in the same location and has the same name.
I would like to make a page that lists all the servers on the network and allows you to select any of them and have that files text displayed.
Is this possible? I've done something similar in the past, but only with local files (to the client) and using ActiveX, or files located on the web server. I don't know how, or if it is possible to get network information (from either the client or the server- it doesn't matter which because it'll be the same either way)...
If anyone can help me out I would be most grateful.
Thank you.
Simon Harvey
Ranch Hand

Joined: Jan 26, 2003
Posts: 79
Well, I'd be really surprised if that wasn't possible using a servlet. I know I can access a mapped network drive on my small home network but in a corporate setting it may be more complicated. I think maybe you should just give it a shot - reading from the local machine firstly and then just try and read a file from a mapped network drive?
Do you think that would be any good?
Good luck
Simon
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Accessing files across a network