This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The struts-examples.war file that comes with the Struts download has an example of uploading a file, checking its size, and returning an error message if it's too big. Just study their code, and you'll see how to do it. Look especially at the org.apache.struts.webapp.upload.UploadAction class. [ May 02, 2006: Message edited by: Merrill Higginson ]