A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Need Dynamic Add button to Add browse button in website
Joined: Jul 18, 2010
Jun 27, 2012 03:58:51
I want to design a page in which the user can upload any number of images and then press the convert button to invoke my "process.jsp" which will process all his images.
So each time he clicks Add he should be able to upload new images to my server.
The below code gives only one browse button to upload
<%@ page language="java" %> <HTML> <HEAD><TITLE>Display file upload form to the user</TITLE></HEAD> <BODY> <FORM ENCTYPE="multipart/form-data" ACTION="upload.jsp" METHOD=POST> <br><br><br> <center> <table border="0" bgcolor=#ccFDDEE> <tr> <center> <td colspan="2" align="center"><B>UPLOAD THE FILE</B><center></td> </tr> <tr> <td colspan="2" align="center"> </td> </tr> <tr> <td><b>Choose the file To Upload:</b></td> <td><INPUT NAME="file" TYPE="file"></td> </tr> <tr> <td colspan="2" align="center"> </td> </tr> <tr> <td colspan="2" align="center"><input type="submit" value="Send File"> </td> </tr> <table> </center> </FORM> </BODY> </HTML>
I need "n" image uploads.
Can you please help me with a design (GUI) code ? Just the skeleton please.
Author and ninkuma
Joined: Jan 10, 2002
Jun 27, 2012 08:22:45
Do you really think that code you posted is readable?
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: Need Dynamic Add button to Add browse button in website
Multiple image buttons on a Struts Form
setEditable(true) function of jcombobox not working
Problem in making Beer Expert app from Head First Servlet Book
Weird unicode translation problem
How can I find my images??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015