It's not a secret anymore!*
The moose likes Struts and the fly likes File not upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "File not upload" Watch "File not upload" New topic
Author

File not upload

Deepak Kumar pandey
Greenhorn

Joined: Aug 31, 2010
Posts: 11
Hi

I wrote this code in action file of struts 2 for create directory and upload the file in created directories.

Code creating directories but not able save the file in directory.

How to save/upload the file in created directory.



I am also using

<s:form method="post" enctype="multipart/form-data">

on jsp page.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read. You can edit your post by using the button.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please TellTheDetails -- saying ItDoesntWorkIsUseless. Without knowing what it's actually doing it becomes *much* more difficult to help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File not upload