AS/400 Toolbox for Java \ HTML classes \ HTML forms \ Form input \ File forminput

FileFormInput class

Start changeThe 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:

End change
[ Information Center Home Page | Feedback ] [ Legal | AS/400 Glossary ]