my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Reading a file from a file system" Watch "Reading a file from a file system" New topic

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.
jQuery in Action, 2nd edition
subject: Reading a file from a file system
Similar Threads
cannot connect to database
Remote File Operations
Java program on Solaris runs slow when connecting to database on same system
jdbc oracle 8i connectivity
Connection to file server