File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Upload image to server using JSP
Joined: Oct 07, 2011
Dec 02, 2011 19:45:23
Hi friends, I want to ask, how to upload image to server using
Joined: Oct 14, 2005
Dec 02, 2011 21:00:00
Don't use a JSP. The purpose of a JSP is to generate output in a text format, usually HTML. Clearly that purpose doesn't encompass uploading files. You should use a
to do that.
And the easiest way to do it in a servlet is to use the Apache File Upload package.
Author and ninkuma
Joined: Jan 10, 2002
Dec 02, 2011 22:06:09
for more info.
And Paul is correct, Java code in a JSP is nothing short of irresponsible at this stage.
Asking smart questions
Books by Bear
Don't get me started about those stupid
subject: Upload image to server using JSP
Uploading an image
upload .tiff file
how to upload and retrive a image from mysql database
how to upload an image through jsp
Uploading & displaying images using Struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014