aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts | File Upload | Validation" Watch "Struts | File Upload | Validation" New topic
Author

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.


$Hi/\bEr
Rahul Nair
Ranch Hand

Joined: Dec 01, 2007
Posts: 138
hi,

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

Thanks

Rahul

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts | File Upload | Validation