jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes Struts | File Upload | Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts | File Upload | Validation" Watch "Struts | File Upload | Validation" New topic

Struts | File Upload | Validation

Shiaber Shaam
Ranch Hand

Joined: Jun 16, 2006
Posts: 252
How to validate/restrict the size of the uploaded file in client? I don't want to use ActiveX objects. Please suggest.

Rahul Nair
Ranch Hand

Joined: Dec 01, 2007
Posts: 138

provide the maximumSize param with max file size in bytes in struts 2 File Upload Interceptor in action declaration.



I agree. Here's the link: http://aspose.com/file-tools
subject: Struts | File Upload | Validation
Similar Threads
WA #1.....word association
java io
Creating a file by giving relative path
performance issues with file read and write
Struts FormFile (parsing .csv files)