Meaningless Drivel is fun!*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
Consider Paul's rocket mass heater.
 
subject: Reading a file from a file system