aspose file tools
The moose likes JSP and the fly likes how to use file chooser in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "how to use file chooser in jsp" Watch "how to use file chooser in jsp" New topic
Author

how to use file chooser in jsp

parmi_gowda
Greenhorn

Joined: Aug 29, 2005
Posts: 7
Hi ,

how to use file chooser in jsp
Madhu Kaparapu
Ranch Hand

Joined: Jul 04, 2005
Posts: 35
Use the following html code in your jsp page and you will get the file chooser dialog box at client browser side.
<form METHOD=post ACTION="JspFileName.jsp"
ENCTYPE="multipart/form-data">
<input TYPE="file" NAME="filename">
</form>


Regards,
Madhu Kaparapu.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56233
    
  13

"Paramesh HS",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to use file chooser in jsp
 
Similar Threads
JFileChooser options
File upload
command line arguments for a file
Problem when using JFileChooser in JApplet
JFileChooser: setSelectedFile() hangs