Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Directory Create but not able to upload file in directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

Directory Create but not able to upload file in directory

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.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

This is the same problem as this one. Please keep the discussion related to the problem to a single topic...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Directory Create but not able to upload file in directory
 
Similar Threads
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)
File not upload