Bookmark Topic Watch Topic
  • New Topic

Directory Create but not able to upload file in directory

 
Deepak Kumar pandey
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 9597
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is the same problem as this one. Please keep the discussion related to the problem to a single topic...
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!