This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Im trying to code for uploading multiple photos at a time.I have swing application which will collect all the photos from the folder.How will i do this by callling application from jsp so that i can upload all the files at onces.
What you're describing is apples & oranges. Swing is client-side and JSP is server-side. JSP renders HTML into a web browser (typically) whereas Swing runs in standalone apps (or in Applets).
Sounds like what you need is MultiPart request or something like that (if you're running in a web browser). There are probably other solutions. If you are running an application using Swing, then Web Start is what you probably want, and then use sockets (or whatever) to transfer data up to the server.