This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Java program on Solaris runs slow when connecting to database on same system
Remote File Operations
cannot connect to database
jdbc oracle 8i connectivity