aspose file tools
The moose likes JSP and the fly likes creating and writing to files on server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "creating and writing to files on server" Watch "creating and writing to files on server" New topic
Author

creating and writing to files on server

mohan kannan
Greenhorn

Joined: Dec 02, 2001
Posts: 26
how to create or write to .txt file on the server using jsp bean class.
I am able to create/open/ write to .txt file
using jsp bean on local system
But the same bean is not working properly when uploaded on to the server
JsP Server is tomcat
mohan
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14491
    
    7

Most likely because you're using a relative path instead of an absolute one. A lot of people run into this problem. Try using the "search" feature of this forum and you'll see it discussed at length.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: creating and writing to files on server
 
Similar Threads
System.err.println()
creating new files in server
how to create file in jsp?
creating new files in server
creation of new directory inside an exisiting directory