Ok, so I have managed to upload an image... It was written to a BinaryOutputStream and then written to a
String object (following the
struts sample). I think I have done this right only that, doing ${picture} outputs a set of ascii code such as
!1AQa?"Rq?��2B����#3CS?$4br�?��� ?��?��?� #���^?C�???@��?`�Cd��L �c�?� ����?�?��??�?�t&?~�?�?0 ct�"=�(T?B?@!@B??!!@B??!!@B??!!@B??!!@B??!!@B??!!@B?!PH�???A$� ?�e�H�?�@D��} ~�?�B?���I�G�?"|��G��G;$I��H�����I�?;n??L�|��?D?O��F�#?;?g�o�G�?PF�T) ?N�7<�Qpo?Dq??�vI�jG���N{&2w�h��.��*J?�?�o�i{? ?�1�`c���h��1�0?��?�??@l���Jc; o�a@G??I�T?:&?�B" B? ! ?B?? !BB?? !BB?? !BB?? !BB?? !BB?? !BB?? ! B ! ! BX??(QwH��4�??� %B??�R>??�I�*G��Q=w@.�'d��:y$R?�����I��D� $g�H�8?3��H��#��K�#�PA�?%D��G�#?�?(?��tQ;n�(?�Bx��h�"���L���H[��??�#
and what I really want is to use the uploaded file(binary data) into an image tag in one of my
jsp's... How am I suppose to do this? Thanks!
[ May 31, 2006: Message edited by: Bear Bibeault ]