This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
It's not a secret anymore!