----- Original Message ----

> From: hisameer <cool_sameer_fo...@yahoo.com>
> To: user@struts.apache.org
> Sent: Thursday, September 3, 2009 5:15:58 PM
> Subject: Re: [OT] Re: Strut2 Picture Upload question: Please Help!
> 
> 
> Hi Tommy,
> 
> Thanks for your reply. I thought I would get the answer very quickly if I
> post the answer on this form after struggling for a week.This is very
> general question thats why I did not mention all the requirement. I am
> working for an insurance company. And we have existing framework of
> Sturts+Spring+Hibernate. And the requirement which I am working on is that
> the person who wants to buy the car insurance he has the option to upload
> the four pictures of his car.Along with some other details.After selecting
> the picture he would like to see which picture he uploaded. He cannot delete
> the uploaded picture but at least he should be able to see those four
> pictures on the jsp page. He can upload png,jpg or gif files.At the bottom
> there is a continue button after continue I have to save those pics into the
> database.
> 
> Let me know if you have any questions.Thanks for your efforts and help in
> advance.
> 

<snip>

I suggest you take a look at youtube.com's file upload.  Perhaps you might
want to consider implementing something similar to theirs but not as advanced?
I haven't looked at AJAX in depth very much yet but if you implement 
simultaneous 
uploads, you'll have to use threads.  You'll have to look at the Commons' 
FileUpload.
That library is the best and probably the only for file upload there is.  Like 
I said
before, most of what you're asking is there on the internet.  Just google for
'ajax file upload'.  After seeing some samples and various methods, you decide
to implement your own but run into problems where you can't find the solution,
then I'm sure the list is more than happy to help you fix if it deals with 
Struts.
Someone has suggest you to look at jquery plugin.  That may work or may not
work for you.  That's why I suggest you read and find the options available 
and choose what you like.  One of the many things I like about Java is you have
more than one way to do something to reach your goal.

Regards,
Tommy


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to