Cancelado

Fix index error when removing uploaded photos.

Dear All,

I have created a sample Spring MVC 3.2 project with JSP to upload multi files.

As I uploaded multiple photos on the [url removed, login to view] page, I tried to remove it by clicking the "remove me" button, but the Index is not correct, that is when I click the "remove me" button, it removed the right file on the page, but actually didn't reference the correct index in the file list. I further found out the javascript function "removeIndex" gets called, but its index is never found.

I am looking for someone whom familiar spring mvc 3.x and jsp with multi file upload technologies to look into the problem and fix this bug.

Testing steps:

1. untar the file with command " tar -zxvf [url removed, login to view]"

2. cd uploadfilepic/

3. build it with maven like so: ./[url removed, login to view]

4. navigate to http://YOUR-HOSTNAME/uploadpic-0.0.1-SNAPSHOT/user_ads/createProductUploadFiles

5. click the "Add New Pictures" link at the top-left-corner.

5. in the /addimages page, click the "choose files" button.

6. then select multiple photos and upload to the addimages page.

7. noticed there are "remove me" buttons along with the uploaded photos. Click one of the "remove me" button, the photo is removed, but take a look into the javascript function removeIndex(xxx), the alert "===removed" never popup except for the first photo (but this is not correct as it the index popup is 3). Further investigated the [url removed, login to view] file, and found the index value in the removefilepic() function is not correct "var index= [url removed, login to view](object_for_remove);".

My budget is small, and hope that someone with the familiar skills can fix up this problem very quickly.

I have enclosed the sample project here for reference.

Very appreciate for anyone whom can help.

Very best regards

Sam

Habilidades: Java, Javascript

Ver mais: x-value technologies, error page in jsp, t sh, Spring mvc, spring jsp, Maven, java + fix, fix small bug, spring jsp select, upload file project jsp, javascript bug fix, spring bug project, function jsp, mvc upload, javascript select remove, mvc sample, upload file javascript error, java fix problem, upload photos choose upload, multi select javascript, java spring upload, jsp multi upload, mvc multiple file, spring mvc java, small mvc project

Acerca do Empregador:
( 73 comentários ) Prospect, Australia

ID do Projeto: #5088109

2 freelancers estão ofertando em média $28 para este trabalho

sekarj

I have good experience in Java, Spring , JSP and maven I am interested in this work Please award the project to me

$30 USD in 5 dias
(2 Comentários)
2.9
epotignano

I work everyday with JavaScript and Spring in my job, I'm a developer in a big company of Argentina, [url removed, login to view], I want to start in the freelance jobs world, this small issue is perfect for me, I think I can help you Mais

$25 USD in 3 dias
(0 Comentários)
0.0