File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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: 9168

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

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Creating a text file from a web application
It's not a secret anymore!