File upload fails when no file is chosen,
October 22, 2008 at 11:00 PM
Hello, from server side I get an IllegalArgumentException when no file is chosen. Is there any way to prevent struts from getting that garbage? In this context I cannot do a form validation since what is submitted can be either a text description or a file. Do I need to do separate actions from server side, one for the file and the other for the text description?