On Thursday, February 10, 2011 3:21:52 AM UTC+1, zixzigma wrote: > > > I put the image file on classpath and read it as shown above, > my intention is to keep things simple before using a DB. > do you think this might be the reason behind the delay ? >
No. > or could it be converting from byte[] to List<Byte> ? > Neither. > in your opinion what is the correct way of sending images to the client ? > Either as a data: URL (String), or as requests to a servlet (just like you would request static image files), but absolutely not as byte[] or List<Byte>, as that isn't very useful on the client-side. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
