Why is Seam fileUpload no longer working after upgrading to seam 2.1.x ?

Solution Verified - Updated -

Issue

  • In some pages we are using the s:fileUpload Seam tag to upload files such as images, jar files. Data uploaded is bound to byte array that is a bean property: byte[] data.  After the upload is done the byte array is null instead of having a value. Note that this functionality in our side had been tested and worked when we were using Seam 2.0. So it seems this is a regression of seam.

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.3
  • JBoss Seam 2.1.2.GA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.