You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by hisameer <co...@yahoo.com> on 2009/09/03 00:26:33 UTC

Strut2 Picture Upload question: Please Help!

I am using Struts 2.1.6 and in my application I have a requirement where the
user can upload four pictures of his vehicle.In my JSP, there will be four
upload buttons corresponding to those four pics(As shown in the below
image). After the user is done selecting the file it should be uploaded in
the JSP right away. 

Below image shows the actual display of the requirement. 


http://www.nabble.com/file/p25266760/picUploading.jpg 


Can somebody put some sample code for this kind of requirement or suggest me
what should I do? I am sure this is just a simple requirement but I am not
able to crack it. 
-- 
View this message in context: http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25266760.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: [OT] Re: Strut2 Picture Upload question: Please Help!

Posted by Tommy Pham <to...@yahoo.com>.
----- Original Message ----

> From: hisameer <co...@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: [OT] Re: Strut2 Picture Upload question: Please Help!

Posted by hisameer <co...@yahoo.com>.
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.


Tommy Pham wrote:
> 
> ----- Original Message ----
>> From: hisameer <co...@yahoo.com>
>> To: user@struts.apache.org
>> Sent: Thursday, September 3, 2009 7:43:03 AM
>> Subject: Re: Strut2 Picture Upload question: Please Help!
>> 
>> 
>> Thanks for the reply. Now what I thought of doing is I will upload the
>> picture and show it to in the image tag in the jsp. Now how do I do that?
>> The upload should happen dynamically. Thanks for your help in advance.
>> 
> 
> If I'm not mistaken, what you're asking for is not yet relevant to the
> list yet.  I think you need to consider the business logic (site
> navigation, UI - layout and all, functionalities/features/purpose of the
> site, etc) before you begin coding... as this will save headaches to come. 
> Here's my question your intention... do you want the user to waste his/her
> time trying to upload an image to a temporary location on your server (not
> mention waste of bandwith and server processing) before the user has the
> final decision whether (50%/50%) whether to keep the picture or not???
> Shouldn't the user DECIDE that in the first before clicking browse
> (form/ajax) > submit/upload ???  OTOH, if you want to permit the user to
> upload as many pictures as he/she wants, then selecting only the images
> the user likes best at a certain point later in time w/o having to
> upload.... then that's a another matter.
> 
> This is what I mean by you need evaluate the functions/features of your
> site.  After you figure out the 1st step, then deal with storage
> mechanisms (DB / Filesystems) for the pictures.  Then comes coding / site
> layout design....  w/o clear understanding of the 1st 2... your coding
> will have unnecessary steps/codes, not to mention your current hurdle... 
> After you figure out the details of what you want your site to
> be/have/offer, then try to learn more in details about the technology you
> want to use.  If you then you try to implement something but fails, you
> should try to troubleshoot/debug 1st and research as much as you can
> before asking.  All of this you're asking for 95% available on web... Just
> spend time to read it.  You should first learn as much as you can about
> what you want to use, in this case Struts, before asking very basic
> question like "picture upload"...  There many ways to implement this.  Old
> school basic html form/post... new school
>  ajax... another method to use is java applets... the list goes on... :)
> 
> Regards,
> Tommy
> 
>> 
>> Tommy Pham wrote:
>> > 
>> > ----- Original Message ----
>> >> From: hisameer 
>> >> To: user@struts.apache.org
>> >> Sent: Thursday, September 3, 2009 6:54:14 AM
>> >> Subject: RE: Strut2 Picture Upload question: Please Help!
>> >> 
>> >> 
>> >> I want to do something like this:-The user has upload button. There is
>> an  
>> >> tag on the top of that button which has a picture saying "please
>> upload
>> >> the
>> >> picture". When the user clicks on upload button the file browser will
>> >> open
>> >> and user can select whatever picture he wants to upload. When user
>> clicks
>> >> ok
>> >> the picture will be displayed in the JSP page replacing the "please
>> >> upload
>> > 
>> > If you want to display the selected page dynamically before the actual
>> > upload takes place, see my reply regarding scenario 2:
>> > 
>> > "scenario 2:  the user selects a picture and ajax will show the picture
>> > dynamically on the browser so the user is looking at the picture to
>> > confirm it's the right picture prior to upload action??? NOT POSSIBLE! 
>> > If this was, every identity thief on the net would have field days..."
>> > 
>> > 
>> >> picture message" . There are four upload buttons in that page and at
>> the
>> >> bottom there is save button. When the user hits save button all the
>> >> pictures
>> >> along with other input data should be saved. 
>> >> 
>> >> I hope the requirement is clear now. Please put your suggestions or
>> any
>> >> sample code if you have.
>> >> 
>> >> 
>> >> 
>> >> hisameer wrote:
>> >> > 
>> >> > Thanks for your comment. But my question is How can it be done using
>> >> AJAX?
>> >> > I am using dojo plugin in my struts application. But if I use 
>> >> > type="file" name="docs" value="Brows" width="400px"/>
>> >> > then it also shows the brows location as well. But in my case its
>> only
>> >> a
>> >> > simple upload button.What should I do?
>> >> > 
>> >> > And initially there has to be a placeholder for those pictures as
>> well. 
>> >> > 
>> >> > I am totally confused. Please help!
>> >> > 
>> >> > 
>> >> > 
>> >> > Lee Clemens-4 wrote:
>> >> >> 
>> >> >> Maybe have the Upload buttons refresh the page? And load the images
>> >> from
>> >> >> the
>> >> >> action?
>> >> >> 
>> >> >> Otherwise it would have to be done client side (ajax?)
>> >> >> 
>> >> >> -----Original Message-----
>> >> >> From: hisameer [mailto:cool_sameer_for_u@yahoo.com] 
>> >> >> Sent: Wednesday, September 02, 2009 6:27 PM
>> >> >> To: user@struts.apache.org
>> >> >> Subject: Strut2 Picture Upload question: Please Help!
>> >> >> 
>> >> >> 
>> >> >> I am using Struts 2.1.6 and in my application I have a requirement
>> >> where
>> >> >> the
>> >> >> user can upload four pictures of his vehicle.In my JSP, there will
>> be
>> >> >> four
>> >> >> upload buttons corresponding to those four pics(As shown in the
>> below
>> >> >> image). After the user is done selecting the file it should be
>> >> uploaded
>> >> >> in
>> >> >> the JSP right away. 
>> >> >> 
>> >> >> Below image shows the actual display of the requirement. 
>> >> >> 
>> >> >> 
>> >> >> http://www.nabble.com/file/p25266760/picUploading.jpg 
>> >> >> 
>> >> >> 
>> >> >> Can somebody put some sample code for this kind of requirement or
>> >> suggest
>> >> >> me
>> >> >> what should I do? I am sure this is just a simple requirement but I
>> am
>> >> >> not
>> >> >> able to crack it. 
>> >> >> -- 
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp252
>> >> >> 66760p25266760.html
>> >> >> Sent from the Struts - User mailing list archive at Nabble.com.
>> >> >> 
>> >> >> 
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> >> >> For additional commands, e-mail: user-help@struts.apache.org
>> >> >> 
>> >> >> 
>> >> >> 
>> >> >> 
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> >> >> For additional commands, e-mail: user-help@struts.apache.org
>> >> >> 
>> >> >> 
>> >> >> 
>> >> > 
>> >> > 
>> >> 
>> >> -- 
>> >> View this message in context: 
>> >> 
>> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25276582.html
>> >> Sent from the Struts - User mailing list archive at Nabble.com.
>> >> 
>> >> 
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail: user-help@struts.apache.org
>> > 
>> > 
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> > For additional commands, e-mail: user-help@struts.apache.org
>> > 
>> > 
>> > 
>> 
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25277590.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25286266.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


[OT] Re: Strut2 Picture Upload question: Please Help!

Posted by Tommy Pham <to...@yahoo.com>.
----- Original Message ----
> From: hisameer <co...@yahoo.com>
> To: user@struts.apache.org
> Sent: Thursday, September 3, 2009 7:43:03 AM
> Subject: Re: Strut2 Picture Upload question: Please Help!
> 
> 
> Thanks for the reply. Now what I thought of doing is I will upload the
> picture and show it to in the image tag in the jsp. Now how do I do that?
> The upload should happen dynamically. Thanks for your help in advance.
> 

If I'm not mistaken, what you're asking for is not yet relevant to the list yet.  I think you need to consider the business logic (site navigation, UI - layout and all, functionalities/features/purpose of the site, etc) before you begin coding... as this will save headaches to come.  Here's my question your intention... do you want the user to waste his/her time trying to upload an image to a temporary location on your server (not mention waste of bandwith and server processing) before the user has the final decision whether (50%/50%) whether to keep the picture or not??? Shouldn't the user DECIDE that in the first before clicking browse (form/ajax) > submit/upload ???  OTOH, if you want to permit the user to upload as many pictures as he/she wants, then selecting only the images the user likes best at a certain point later in time w/o having to upload.... then that's a another matter.

This is what I mean by you need evaluate the functions/features of your site.  After you figure out the 1st step, then deal with storage mechanisms (DB / Filesystems) for the pictures.  Then comes coding / site layout design....  w/o clear understanding of the 1st 2... your coding will have unnecessary steps/codes, not to mention your current hurdle...  After you figure out the details of what you want your site to be/have/offer, then try to learn more in details about the technology you want to use.  If you then you try to implement something but fails, you should try to troubleshoot/debug 1st and research as much as you can before asking.  All of this you're asking for 95% available on web... Just spend time to read it.  You should first learn as much as you can about what you want to use, in this case Struts, before asking very basic question like "picture upload"...  There many ways to implement this.  Old school basic html form/post... new school
 ajax... another method to use is java applets... the list goes on... :)

Regards,
Tommy

> 
> Tommy Pham wrote:
> > 
> > ----- Original Message ----
> >> From: hisameer 
> >> To: user@struts.apache.org
> >> Sent: Thursday, September 3, 2009 6:54:14 AM
> >> Subject: RE: Strut2 Picture Upload question: Please Help!
> >> 
> >> 
> >> I want to do something like this:-The user has upload button. There is an  
> >> tag on the top of that button which has a picture saying "please upload
> >> the
> >> picture". When the user clicks on upload button the file browser will
> >> open
> >> and user can select whatever picture he wants to upload. When user clicks
> >> ok
> >> the picture will be displayed in the JSP page replacing the "please
> >> upload
> > 
> > If you want to display the selected page dynamically before the actual
> > upload takes place, see my reply regarding scenario 2:
> > 
> > "scenario 2:  the user selects a picture and ajax will show the picture
> > dynamically on the browser so the user is looking at the picture to
> > confirm it's the right picture prior to upload action??? NOT POSSIBLE! 
> > If this was, every identity thief on the net would have field days..."
> > 
> > 
> >> picture message" . There are four upload buttons in that page and at the
> >> bottom there is save button. When the user hits save button all the
> >> pictures
> >> along with other input data should be saved. 
> >> 
> >> I hope the requirement is clear now. Please put your suggestions or any
> >> sample code if you have.
> >> 
> >> 
> >> 
> >> hisameer wrote:
> >> > 
> >> > Thanks for your comment. But my question is How can it be done using
> >> AJAX?
> >> > I am using dojo plugin in my struts application. But if I use 
> >> > type="file" name="docs" value="Brows" width="400px"/>
> >> > then it also shows the brows location as well. But in my case its only
> >> a
> >> > simple upload button.What should I do?
> >> > 
> >> > And initially there has to be a placeholder for those pictures as well. 
> >> > 
> >> > I am totally confused. Please help!
> >> > 
> >> > 
> >> > 
> >> > Lee Clemens-4 wrote:
> >> >> 
> >> >> Maybe have the Upload buttons refresh the page? And load the images
> >> from
> >> >> the
> >> >> action?
> >> >> 
> >> >> Otherwise it would have to be done client side (ajax?)
> >> >> 
> >> >> -----Original Message-----
> >> >> From: hisameer [mailto:cool_sameer_for_u@yahoo.com] 
> >> >> Sent: Wednesday, September 02, 2009 6:27 PM
> >> >> To: user@struts.apache.org
> >> >> Subject: Strut2 Picture Upload question: Please Help!
> >> >> 
> >> >> 
> >> >> I am using Struts 2.1.6 and in my application I have a requirement
> >> where
> >> >> the
> >> >> user can upload four pictures of his vehicle.In my JSP, there will be
> >> >> four
> >> >> upload buttons corresponding to those four pics(As shown in the below
> >> >> image). After the user is done selecting the file it should be
> >> uploaded
> >> >> in
> >> >> the JSP right away. 
> >> >> 
> >> >> Below image shows the actual display of the requirement. 
> >> >> 
> >> >> 
> >> >> http://www.nabble.com/file/p25266760/picUploading.jpg 
> >> >> 
> >> >> 
> >> >> Can somebody put some sample code for this kind of requirement or
> >> suggest
> >> >> me
> >> >> what should I do? I am sure this is just a simple requirement but I am
> >> >> not
> >> >> able to crack it. 
> >> >> -- 
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp252
> >> >> 66760p25266760.html
> >> >> Sent from the Struts - User mailing list archive at Nabble.com.
> >> >> 
> >> >> 
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> >> For additional commands, e-mail: user-help@struts.apache.org
> >> >> 
> >> >> 
> >> >> 
> >> >> 
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> >> For additional commands, e-mail: user-help@struts.apache.org
> >> >> 
> >> >> 
> >> >> 
> >> > 
> >> > 
> >> 
> >> -- 
> >> View this message in context: 
> >> 
> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25276582.html
> >> Sent from the Struts - User mailing list archive at Nabble.com.
> >> 
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25277590.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org


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


Re: Strut2 Picture Upload question: Please Help!

Posted by hisameer <co...@yahoo.com>.
Thanks for the reply. Now what I thought of doing is I will upload the
picture and show it to in the image tag in the jsp. Now how do I do that?
The upload should happen dynamically. Thanks for your help in advance.



Tommy Pham wrote:
> 
> ----- Original Message ----
>> From: hisameer <co...@yahoo.com>
>> To: user@struts.apache.org
>> Sent: Thursday, September 3, 2009 6:54:14 AM
>> Subject: RE: Strut2 Picture Upload question: Please Help!
>> 
>> 
>> I want to do something like this:-The user has upload button. There is an  
>> tag on the top of that button which has a picture saying "please upload
>> the
>> picture". When the user clicks on upload button the file browser will
>> open
>> and user can select whatever picture he wants to upload. When user clicks
>> ok
>> the picture will be displayed in the JSP page replacing the "please
>> upload
> 
> If you want to display the selected page dynamically before the actual
> upload takes place, see my reply regarding scenario 2:
> 
> "scenario 2:  the user selects a picture and ajax will show the picture
> dynamically on the browser so the user is looking at the picture to
> confirm it's the right picture prior to upload action??? NOT POSSIBLE! 
> If this was, every identity thief on the net would have field days..."
> 
> 
>> picture message" . There are four upload buttons in that page and at the
>> bottom there is save button. When the user hits save button all the
>> pictures
>> along with other input data should be saved. 
>> 
>> I hope the requirement is clear now. Please put your suggestions or any
>> sample code if you have.
>> 
>> 
>> 
>> hisameer wrote:
>> > 
>> > Thanks for your comment. But my question is How can it be done using
>> AJAX?
>> > I am using dojo plugin in my struts application. But if I use 
>> > type="file" name="docs" value="Brows" width="400px"/>
>> > then it also shows the brows location as well. But in my case its only
>> a
>> > simple upload button.What should I do?
>> > 
>> > And initially there has to be a placeholder for those pictures as well. 
>> > 
>> > I am totally confused. Please help!
>> > 
>> > 
>> > 
>> > Lee Clemens-4 wrote:
>> >> 
>> >> Maybe have the Upload buttons refresh the page? And load the images
>> from
>> >> the
>> >> action?
>> >> 
>> >> Otherwise it would have to be done client side (ajax?)
>> >> 
>> >> -----Original Message-----
>> >> From: hisameer [mailto:cool_sameer_for_u@yahoo.com] 
>> >> Sent: Wednesday, September 02, 2009 6:27 PM
>> >> To: user@struts.apache.org
>> >> Subject: Strut2 Picture Upload question: Please Help!
>> >> 
>> >> 
>> >> I am using Struts 2.1.6 and in my application I have a requirement
>> where
>> >> the
>> >> user can upload four pictures of his vehicle.In my JSP, there will be
>> >> four
>> >> upload buttons corresponding to those four pics(As shown in the below
>> >> image). After the user is done selecting the file it should be
>> uploaded
>> >> in
>> >> the JSP right away. 
>> >> 
>> >> Below image shows the actual display of the requirement. 
>> >> 
>> >> 
>> >> http://www.nabble.com/file/p25266760/picUploading.jpg 
>> >> 
>> >> 
>> >> Can somebody put some sample code for this kind of requirement or
>> suggest
>> >> me
>> >> what should I do? I am sure this is just a simple requirement but I am
>> >> not
>> >> able to crack it. 
>> >> -- 
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp252
>> >> 66760p25266760.html
>> >> Sent from the Struts - User mailing list archive at Nabble.com.
>> >> 
>> >> 
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail: user-help@struts.apache.org
>> >> 
>> >> 
>> >> 
>> >> 
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail: user-help@struts.apache.org
>> >> 
>> >> 
>> >> 
>> > 
>> > 
>> 
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25276582.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25277590.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Strut2 Picture Upload question: Please Help!

Posted by Tommy Pham <to...@yahoo.com>.
----- Original Message ----
> From: hisameer <co...@yahoo.com>
> To: user@struts.apache.org
> Sent: Thursday, September 3, 2009 6:54:14 AM
> Subject: RE: Strut2 Picture Upload question: Please Help!
> 
> 
> I want to do something like this:-The user has upload button. There is an  
> tag on the top of that button which has a picture saying "please upload the
> picture". When the user clicks on upload button the file browser will open
> and user can select whatever picture he wants to upload. When user clicks ok
> the picture will be displayed in the JSP page replacing the "please upload

If you want to display the selected page dynamically before the actual upload takes place, see my reply regarding scenario 2:

"scenario 2:  the user selects a picture and ajax will show the picture
dynamically on the browser so the user is looking at the picture to
confirm it's the right picture prior to upload action??? NOT POSSIBLE! 
If this was, every identity thief on the net would have field days..."


> picture message" . There are four upload buttons in that page and at the
> bottom there is save button. When the user hits save button all the pictures
> along with other input data should be saved. 
> 
> I hope the requirement is clear now. Please put your suggestions or any
> sample code if you have.
> 
> 
> 
> hisameer wrote:
> > 
> > Thanks for your comment. But my question is How can it be done using AJAX?
> > I am using dojo plugin in my struts application. But if I use 
> > type="file" name="docs" value="Brows" width="400px"/>
> > then it also shows the brows location as well. But in my case its only a
> > simple upload button.What should I do?
> > 
> > And initially there has to be a placeholder for those pictures as well. 
> > 
> > I am totally confused. Please help!
> > 
> > 
> > 
> > Lee Clemens-4 wrote:
> >> 
> >> Maybe have the Upload buttons refresh the page? And load the images from
> >> the
> >> action?
> >> 
> >> Otherwise it would have to be done client side (ajax?)
> >> 
> >> -----Original Message-----
> >> From: hisameer [mailto:cool_sameer_for_u@yahoo.com] 
> >> Sent: Wednesday, September 02, 2009 6:27 PM
> >> To: user@struts.apache.org
> >> Subject: Strut2 Picture Upload question: Please Help!
> >> 
> >> 
> >> I am using Struts 2.1.6 and in my application I have a requirement where
> >> the
> >> user can upload four pictures of his vehicle.In my JSP, there will be
> >> four
> >> upload buttons corresponding to those four pics(As shown in the below
> >> image). After the user is done selecting the file it should be uploaded
> >> in
> >> the JSP right away. 
> >> 
> >> Below image shows the actual display of the requirement. 
> >> 
> >> 
> >> http://www.nabble.com/file/p25266760/picUploading.jpg 
> >> 
> >> 
> >> Can somebody put some sample code for this kind of requirement or suggest
> >> me
> >> what should I do? I am sure this is just a simple requirement but I am
> >> not
> >> able to crack it. 
> >> -- 
> >> View this message in context:
> >> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp252
> >> 66760p25266760.html
> >> Sent from the Struts - User mailing list archive at Nabble.com.
> >> 
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >> 
> >> 
> >> 
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >> 
> >> 
> >> 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25276582.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org


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


RE: Strut2 Picture Upload question: Please Help!

Posted by hisameer <co...@yahoo.com>.
I want to do something like this:-The user has upload button. There is an  
tag on the top of that button which has a picture saying "please upload the
picture". When the user clicks on upload button the file browser will open
and user can select whatever picture he wants to upload. When user clicks ok
the picture will be displayed in the JSP page replacing the "please upload
picture message" . There are four upload buttons in that page and at the
bottom there is save button. When the user hits save button all the pictures
along with other input data should be saved. 

I hope the requirement is clear now. Please put your suggestions or any
sample code if you have.



hisameer wrote:
> 
> Thanks for your comment. But my question is How can it be done using AJAX?
> I am using dojo plugin in my struts application. But if I use <input
> type="file" name="docs" value="Brows" width="400px"/>
> then it also shows the brows location as well. But in my case its only a
> simple upload button.What should I do?
> 
> And initially there has to be a placeholder for those pictures as well. 
> 
> I am totally confused. Please help!
> 
> 
> 
> Lee Clemens-4 wrote:
>> 
>> Maybe have the Upload buttons refresh the page? And load the images from
>> the
>> action?
>> 
>> Otherwise it would have to be done client side (ajax?)
>> 
>> -----Original Message-----
>> From: hisameer [mailto:cool_sameer_for_u@yahoo.com] 
>> Sent: Wednesday, September 02, 2009 6:27 PM
>> To: user@struts.apache.org
>> Subject: Strut2 Picture Upload question: Please Help!
>> 
>> 
>> I am using Struts 2.1.6 and in my application I have a requirement where
>> the
>> user can upload four pictures of his vehicle.In my JSP, there will be
>> four
>> upload buttons corresponding to those four pics(As shown in the below
>> image). After the user is done selecting the file it should be uploaded
>> in
>> the JSP right away. 
>> 
>> Below image shows the actual display of the requirement. 
>> 
>> 
>> http://www.nabble.com/file/p25266760/picUploading.jpg 
>> 
>> 
>> Can somebody put some sample code for this kind of requirement or suggest
>> me
>> what should I do? I am sure this is just a simple requirement but I am
>> not
>> able to crack it. 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp252
>> 66760p25266760.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25276582.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


RE: Strut2 Picture Upload question: Please Help!

Posted by Johannes Geppert <jo...@web.de>.
Hello Martin,

did you take a look at the showcase? There are many examples for remote
divs.

Nice weekend

Johannes


mgainty wrote:
> 
> 
> thanks for the info
> 
> can you specify a div tag to receive results from action?
> any ability to specify received format eg json/xml?
> 
> danke,
> Martin 
> 
> 


-----
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep

-- 
View this message in context: http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25295825.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


RE: Strut2 Picture Upload question: Please Help!

Posted by Martin Gainty <mg...@hotmail.com>.
thanks for the info

can you specify a div tag to receive results from action?
any ability to specify received format eg json/xml?

danke,
Martin 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.






> Date: Fri, 4 Sep 2009 01:21:30 -0700
> From: jogep@web.de
> To: user@struts.apache.org
> Subject: Re: Strut2 Picture Upload question: Please Help!
> 
> 
> Take a look at the showcase there are many sample for ajax form submits.
> http://www.weinfreund.de/struts2-jquery-showcase/
> 
> <sx:head />
> 
> <s:form id="form" action="echo" theme="simple">
>      Echo: <s:textfield id="echo" name="echo" value="Hello World!!!"/>
>      <sj:submit targets="result" value="AJAX Submit" indicator="indicator"/>
> </s:form>
> 
> This form works also with an fileupload element.
> 
> 
> hisameer wrote:
> > 
> > Thanks for your reply. Can you please put some sample code in this regard.
> > I am trying to read jquery plug-in documentation but would be great if you
> > can put just a sample code for one picand I will handle the rest of it.
> > Thanks in advance.
> > 
> > 
> > 
> > Johannes Geppert wrote:
> >> 
> >> you can use the jQuery Plugin for this use case.
> >> jQuery makes automatically a iframe submit for forms 
> >> with file upload.
> >> 
> >> http://code.google.com/p/struts2-jquery/
> >> 
> > 
> 
> 
> -----
> ---
> web: http://www.jgeppert.com
> twitter: http://twitter.com/jogep
> 
> -- 
> View this message in context: http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25290137.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009

Re: Strut2 Picture Upload question: Please Help!

Posted by Johannes Geppert <jo...@web.de>.
Take a look at the showcase there are many sample for ajax form submits.
http://www.weinfreund.de/struts2-jquery-showcase/

<sx:head />

<s:form id="form" action="echo" theme="simple">
     Echo: <s:textfield id="echo" name="echo" value="Hello World!!!"/>
     <sj:submit targets="result" value="AJAX Submit" indicator="indicator"/>
</s:form>

This form works also with an fileupload element.


hisameer wrote:
> 
> Thanks for your reply. Can you please put some sample code in this regard.
> I am trying to read jquery plug-in documentation but would be great if you
> can put just a sample code for one picand I will handle the rest of it.
> Thanks in advance.
> 
> 
> 
> Johannes Geppert wrote:
>> 
>> you can use the jQuery Plugin for this use case.
>> jQuery makes automatically a iframe submit for forms 
>> with file upload.
>> 
>> http://code.google.com/p/struts2-jquery/
>> 
> 


-----
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep

-- 
View this message in context: http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25290137.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Strut2 Picture Upload question: Please Help!

Posted by hisameer <co...@yahoo.com>.
Thanks for your reply. Can you please put some sample code in this regard. I
am trying to read jquery plug-in documentation but would be great if you can
put just a sample code for one picand I will handle the rest of it. Thanks
in advance.



Johannes Geppert wrote:
> 
> you can use the jQuery Plugin for this use case.
> jQuery makes automatically a iframe submit for forms 
> with file upload.
> 
> http://code.google.com/p/struts2-jquery/
> 
> 
> Nils-Helge Garli wrote:
>> 
>> A form with file input can't be submitted with Ajax. You either have
>> to do some iframe magic or use a flash component. Do a google search
>> for "ajax file upload" to find some options. I've been using SWFUpload
>> [1] for this purpose.
>> 
>> Nils-H
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25276624.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Strut2 Picture Upload question: Please Help!

Posted by Johannes Geppert <jo...@web.de>.
you can use the jQuery Plugin for this use case.
jQuery makes automatically a iframe submit for forms 
with file upload.

http://code.google.com/p/struts2-jquery/


Nils-Helge Garli wrote:
> 
> A form with file input can't be submitted with Ajax. You either have
> to do some iframe magic or use a flash component. Do a google search
> for "ajax file upload" to find some options. I've been using SWFUpload
> [1] for this purpose.
> 
> Nils-H
> 


-----
---
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep

-- 
View this message in context: http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25275259.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Re: Strut2 Picture Upload question: Please Help!

Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
A form with file input can't be submitted with Ajax. You either have
to do some iframe magic or use a flash component. Do a google search
for "ajax file upload" to find some options. I've been using SWFUpload
[1] for this purpose.

Nils-H

[1] - http://code.google.com/p/swfupload/

On Thu, Sep 3, 2009 at 1:49 AM, hisameer<co...@yahoo.com> wrote:
>
> Thanks for your comment. But my question is How can it be done using AJAX? I
> am using dojo plugin in my struts application. But if I use <input
> type="file" name="docs" value="Brows" width="400px"/>
> then it also shows the brows location as well. But in my case its only a
> simple upload button.What should I do?
>
> And initially there has to be a placeholder for those pictures as well.
>
> I am totally confused. Please help!
>
>
>
> Lee Clemens-4 wrote:
>>
>> Maybe have the Upload buttons refresh the page? And load the images from
>> the
>> action?
>>
>> Otherwise it would have to be done client side (ajax?)
>>
>> -----Original Message-----
>> From: hisameer [mailto:cool_sameer_for_u@yahoo.com]
>> Sent: Wednesday, September 02, 2009 6:27 PM
>> To: user@struts.apache.org
>> Subject: Strut2 Picture Upload question: Please Help!
>>
>>
>> I am using Struts 2.1.6 and in my application I have a requirement where
>> the
>> user can upload four pictures of his vehicle.In my JSP, there will be four
>> upload buttons corresponding to those four pics(As shown in the below
>> image). After the user is done selecting the file it should be uploaded in
>> the JSP right away.
>>
>> Below image shows the actual display of the requirement.
>>
>>
>> http://www.nabble.com/file/p25266760/picUploading.jpg
>>
>>
>> Can somebody put some sample code for this kind of requirement or suggest
>> me
>> what should I do? I am sure this is just a simple requirement but I am not
>> able to crack it.
>> --
>> View this message in context:
>> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp252
>> 66760p25266760.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25267581.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

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


Re: Strut2 Picture Upload question: Please Help!

Posted by Tommy Pham <to...@yahoo.com>.
----- Original Message ----
> From: hisameer <co...@yahoo.com>
> To: user@struts.apache.org
> Sent: Wednesday, September 2, 2009 4:49:05 PM
> Subject: RE: Strut2 Picture Upload question: Please Help!
> 
> 
> Thanks for your comment. But my question is How can it be done using AJAX? I
> am using dojo plugin in my struts application. But if I use 
> type="file" name="docs" value="Brows" width="400px"/>
> then it also shows the brows location as well. But in my case its only a
> simple upload button.What should I do?
> 
> And initially there has to be a placeholder for those pictures as well. 
> 
> I am totally confused. Please help!
> 
> 
> 
> Lee Clemens-4 wrote:
> > 
> > Maybe have the Upload buttons refresh the page? And load the images from
> > the
> > action?
> > 
> > Otherwise it would have to be done client side (ajax?)
> > 
> > -----Original Message-----
> > From: hisameer [mailto:cool_sameer_for_u@yahoo.com] 
> > Sent: Wednesday, September 02, 2009 6:27 PM
> > To: user@struts.apache.org
> > Subject: Strut2 Picture Upload question: Please Help!
> > 
> > 
> > I am using Struts 2.1.6 and in my application I have a requirement where
> > the
> > user can upload four pictures of his vehicle.In my JSP, there will be four
> > upload buttons corresponding to those four pics(As shown in the below
> > image). After the user is done selecting the file it should be uploaded in
> > the JSP right away. 
> > 
> > Below image shows the actual display of the requirement. 
> > 
> > 
> > http://www.nabble.com/file/p25266760/picUploading.jpg 
> > 
> > 
> > Can somebody put some sample code for this kind of requirement or suggest
> > me
> > what should I do? I am sure this is just a simple requirement but I am not
> > able to crack it. 
> > -- 
> > View this message in context:
> > http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp252
> > 66760p25266760.html
> > Sent from the Struts - User mailing list archive at Nabble.com.
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> > 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25267581.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org

I don't get what you're trying to achieve...

scenario 1:  something like youtube.com ajax uploads?  The user can upload multiple files but only will be uploading while the rest in queue.  The user can modify the settings as necessary (names, description, etc) while in the upload page and the files are uploading.

scenario 2:  the user selects a picture and ajax will show the picture dynamically on the browser so the user is looking at the picture to confirm it's the right picture prior to upload action??? NOT POSSIBLE!  If this was, every identity thief on the net would have field days...

scenario 3: the user select multiple files to be uploaded at once??  You might want to look deeper into the commons FileUpload... it's very nice and powerful if you can implement it correctly.  If you haven't noticed it by now, most of the java frameworks I've seen Struts (1 & 2), JSF (Apache's MyFaces and Sun's Visual) uses the commons FileUpload.

Regards,
Tommy


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


RE: Strut2 Picture Upload question: Please Help!

Posted by hisameer <co...@yahoo.com>.
Thanks for your comment. But my question is How can it be done using AJAX? I
am using dojo plugin in my struts application. But if I use <input
type="file" name="docs" value="Brows" width="400px"/>
then it also shows the brows location as well. But in my case its only a
simple upload button.What should I do?

And initially there has to be a placeholder for those pictures as well. 

I am totally confused. Please help!



Lee Clemens-4 wrote:
> 
> Maybe have the Upload buttons refresh the page? And load the images from
> the
> action?
> 
> Otherwise it would have to be done client side (ajax?)
> 
> -----Original Message-----
> From: hisameer [mailto:cool_sameer_for_u@yahoo.com] 
> Sent: Wednesday, September 02, 2009 6:27 PM
> To: user@struts.apache.org
> Subject: Strut2 Picture Upload question: Please Help!
> 
> 
> I am using Struts 2.1.6 and in my application I have a requirement where
> the
> user can upload four pictures of his vehicle.In my JSP, there will be four
> upload buttons corresponding to those four pics(As shown in the below
> image). After the user is done selecting the file it should be uploaded in
> the JSP right away. 
> 
> Below image shows the actual display of the requirement. 
> 
> 
> http://www.nabble.com/file/p25266760/picUploading.jpg 
> 
> 
> Can somebody put some sample code for this kind of requirement or suggest
> me
> what should I do? I am sure this is just a simple requirement but I am not
> able to crack it. 
> -- 
> View this message in context:
> http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp252
> 66760p25266760.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp25266760p25267581.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


RE: Strut2 Picture Upload question: Please Help!

Posted by Lee Clemens <ja...@leeclemens.net>.
Maybe have the Upload buttons refresh the page? And load the images from the
action?

Otherwise it would have to be done client side (ajax?)

-----Original Message-----
From: hisameer [mailto:cool_sameer_for_u@yahoo.com] 
Sent: Wednesday, September 02, 2009 6:27 PM
To: user@struts.apache.org
Subject: Strut2 Picture Upload question: Please Help!


I am using Struts 2.1.6 and in my application I have a requirement where the
user can upload four pictures of his vehicle.In my JSP, there will be four
upload buttons corresponding to those four pics(As shown in the below
image). After the user is done selecting the file it should be uploaded in
the JSP right away. 

Below image shows the actual display of the requirement. 


http://www.nabble.com/file/p25266760/picUploading.jpg 


Can somebody put some sample code for this kind of requirement or suggest me
what should I do? I am sure this is just a simple requirement but I am not
able to crack it. 
-- 
View this message in context:
http://www.nabble.com/Strut2-Picture-Upload-question%3A-Please-Help%21-tp252
66760p25266760.html
Sent from the Struts - User mailing list archive at Nabble.com.


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




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