page.add(tf);
page.add(new Heading(1, "Form to upload content"));
tf= new TableForm(response.encodeURL(getURI(request)));
tf.method("POST");
tf.attribute("enctype", "multipart/form-data");
tf.addFileField("file", "file");
tf.addButton("Upload", "Upload");
page.add(tf);
page.add(new Heading(1, "Form to get Resource"));