How can we upload files in Struts2 application?
Answer / 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 |
What is struts 2 framework in java?
Can you give an overview of how a struts application flows?
kindly can any one post for me portlet,hibernate,spring example code and configuration,and some related tutorials plz its urgent for me....thanks in advance ............
Explain about the validation steps which have to be carried during validation of client-side address?
1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they
What is controller in struts2?
Which configuration file is used for storing jsp configuration information in struts?
What is filter dispatcher in struts?
What is struts? Explain
Explain the difference between plain-validator and field-validator in struts?
What are construction struts?
Briefly tell the two kinds of form beans.