wood burning stoves 2.0*
The moose likes Struts and the fly likes Creating a text file from a web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic

Creating a text file from a web application

Abebe Belew

Joined: Jul 21, 2004
Posts: 19
Hi all,

I am trying to create a text file on a server from a struts web app.
The owner of the file created is root as the web app is running as root.
I want the owner of the file to be the user (the users have access to the machine). OS = Linux Red hat

Thanks so much
Joe Ess

Joined: Oct 29, 2001
Posts: 8935

Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
I agree. Here's the link: http://aspose.com/file-tools
subject: Creating a text file from a web application