> -----Original Message-----
> From: uma.k [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 17, 2004 8:47 AM
> To: 'Struts Users Mailing List'
> Subject: Preview of an Image and text
> 
> 
> Hi,
> I have a form where the user is given the option to select a file to
> upload(normally gif or jpg) before the user submits the file 
> to the server,
> I wanted to show him a preview of his message and image.
> 
> How do I do that? Where do I store the image temporarly?

I'd do it in the webapp using File.createTempFile() and a standard image tag 
referring to it.

> 
> Any solutions?
> 
> Uma
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to