struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Akins <>
Subject Putting an Image (in Bytes) on the session
Date Mon, 15 Nov 2010 16:13:45 GMT
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


Thoughts on this, or other ways to do something similar?

Greg Akins

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message