Hello,
in a form, i get a FormFile object.
This work fine (i display the ContentType, etc).
The file uploaded is a image type file (image/jpg or image/gif, this is
verify in the form bean associate).
I would like to populate a bean with can display in JSP.
For exemple, i have my class that extends Action :
...
pictureForm pForm = (pictureForm)form;
FormFile file = pForm.getPFile();
request.setAttribute("file",file);
...
and in the JSP, i would like to display the image file :
...
<html:img page="..." paramName="..." scope="request"/>
...
I would like that the <html:img...> display the file bean.
Someone has a idea or a sample ?
Best regards ...
--
Jean-Baptiste Onofr� (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG B�ziers
http://www.lug-beziers.org
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>