FileFormInput class

The FileFormInput class represents a file input type in an HTML form.

The following code example shows you how to create a new FileFormInput object

    FileFormInput file = new FileFormInput("myFile");
    System.out.println(file.getTag());

The above code creates the following output:

<input type="file" name="myFile" />

When you use this tag in an HTML page, it looks like this: