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 Creating a text file from a web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

Creating a text file from a web application

Abebe Belew
Greenhorn

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
Bartender

Joined: Oct 29, 2001
Posts: 9136
    
    9

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Creating a text file from a web application
 
It's not a secret anymore!