Hello petemuir,

I've tried the SFSB version too, no error but still the same. Can U help?

package myapp;
  | 
  | import javax.ejb.Remove;
  | import javax.ejb.Stateful;
  | 
  | import org.jboss.seam.annotations.Begin;
  | import org.jboss.seam.annotations.Destroy;
  | import org.jboss.seam.annotations.End;
  | import org.jboss.seam.annotations.Name;
  | 
  | @Stateful
  | @Name("admin")
  | public class Admin implements AdminI {
  |     private byte[] uploadedFile;
  |     
  |     public void setUploadedFile(byte[] uploadedFile)
  |     {
  |             this.uploadedFile = uploadedFile;
  |     }
  |     
  |     public byte[] getUploadedFile()
  |     {
  |             return uploadedFile;
  |     }
  |     
  |     @Begin
  |     public void start()
  |     {
  |             System.out.println("Start conversation");
  |     }
  |     
  |     @End
  |     public void parse() throws Exception
  |     {
  |             if(uploadedFile != null)
  |                     System.out.println("size = " + uploadedFile.length);
  |             else
  |                     System.out.println("picture is null");
  |     }
  |     
  |     @Destroy @Remove
  |     public void destroy() {}
  | }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039713#4039713

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039713
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to