• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts - FileUpload issue on Unix

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using struts fileupload utility to upload a csv file.
The tempDir is not configured in struts-config. But by default it takes following directory as tempDir -
1. Windows - \TOMCAT_HOME\work\Standalone\localhost\appliction_Dir\
2. Unix - /TOMCAT_HOME/work/ccpl-engine/localhost/appliction_Dir/

1. In windows, it uploads properly as xxxx.tmp file and application is able to get that File to do further operations.
2. In Unix, the file does not get uploaded at the abovementioned location. Hence further operations are not possible. I have assigned 'write' access to this the 'application_Dir' directory for the user that runs the tomcat process. But this has not helped.

Am I missing anything? Any urgent help is highly appreciated.

Thanks
[ February 11, 2005: Message edited by: ajit gobbur ]
 
When people don’t understand what you are doing they call you crazy. But this tiny ad just doesn't care:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic