Jakarta Multiple File Upload

Posted on 2006-03-30
Last Modified: 2013-11-24
Hi Guys,

Does any one have a sample code for multiple file upload using the Jakarta Commons FileUpload pakage.....i need sample code snippet please. Sample code is highly appreaciated.

Question by:jagadeesh_motamarri
    LVL 92

    Expert Comment

    LVL 92

    Expert Comment

    LVL 10

    Author Comment

    I'm confused ......

    Basically i got to create a meaning folder (name) and store the files in the Tomcat Directory. SO where do I specify this particular aspect. And more over i need to create the directories on the fly when the servlet gets executed. How can i achieve that.

    LVL 92

    Accepted Solution

    You can use the File class to specify location and create directory(s)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
    Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
    Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
    This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now