Can some one please tell me how to make both things.
1) it should throw exception if file size more than 2 mb.
But it dont throw the exception mentioned above. It should say error message given in the property file with property:struts.messages.error.file.too.large
Also, currently it throws exception that request was not valid, i am on edit page, so in that case i loose all the details that was there & the empty form comes :(.
View All Comments
| View Tutorial