This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Directory Create but not able to upload file in directory
displaying the directory contents in the server
problem in file downloading in struts 2.0
File Permissions
File upload problem in struts 2 (emoving file attachment)