wt., 20 maj 2025 o 06:28 Priyanka Vaddadi <priyanka.vadd...@doj.ca.gov.invalid> napisał(a): > WE are receiving document name and document received date and documentTYpeId. > But not actual content of document. > I mean the below variable is not getting populated with data. But the > same variable gets populated with data with struts 2.3. Please let me know > what is the problem here with struts 7 > private File documentImage;
The problem is that your action must implement UploadedFilesAware interface to support upload https://github.com/apache/struts/blob/main/core/src/main/java/org/apache/struts2/interceptor/ActionFileUploadInterceptor.java#L105-L124 Cheers Łukasz --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org