adspace
Answer Posted / Vidit Dixit
In Struts2, you can upload files using the FileUpload interceptor. First, configure the interceptor in struts.xml and add it to your action's stack. Then, in your action class, use the private Stream stream; and private Multipart streams; variables to handle file uploads.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers