aspose file tools*
The moose likes Servlets and the fly likes servletrunner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servletrunner" Watch "servletrunner" New topic
Author

servletrunner

manav k
Greenhorn

Joined: Oct 30, 2000
Posts: 19
i have a servlet that writes file on the server but i am having some problems with the path. Even though i set the path and the root with the -r and -d option of the servletrunner it still writes the file to the default directory (just ../ of the servletrunner executable) though it reads the property file OK can anyone guess why this is happening

manav
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
That is the expected behavior of Java if you dont specify a path when opening a file. Why not include a complete path in the properties file?
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servletrunner