You're right, it smells like a wrong approach :). Storing image's bytes is a space consuming practice.
Anyway, Could you explain what do you need? 2010/11/15 Greg Akins <angryg...@gmail.com> > This seems like maybe I'm approaching it wrong.. but wondering if it's > possible. > > I'm wondering if I can put an image, in the form of a byte array, or > stream, that I can read with either a struts tag, jstl, or el > > Thinking in my action > > session.put("image", image.getBytes()); > > and in the .jsp > > ${image} > > Thoughts on this, or other ways to do something similar? > > -- > Greg Akins > > http://insomnia-consulting.org > http://www.pghcodingdojo.org > http://pittjug.dev.java.net > http://twitter.com/akinsgre > http://www.linkedin.com/in/akinsgre > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Maurizio Cucchiara