File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Reading a file from a file system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Reading a file from a file system" Watch "Reading a file from a file system" New topic
Author

Reading a file from a file system

meera rao
Ranch Hand

Joined: Jun 30, 2005
Posts: 67
Hello Everyone,

I am trying to read an xml file from a file system, but I need to connect it using a user Id and password.

In my local machine, I mapped it to a drive, so I don't mention the server name, but when I run the program from another machine, I have to connect to the file server.

What would the connection string be when I read the file, if i store the userId and password as context parameters.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading a file from a file system
 
Similar Threads
Connection to file server
Remote File Operations
Java program on Solaris runs slow when connecting to database on same system
jdbc oracle 8i connectivity
cannot connect to database