A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
I agree. Here's the link:
subject: Upload image to server using JSP
how to upload and retrive a image from mysql database
how to upload an image through jsp
upload .tiff file
Uploading an image
Uploading & displaying images using Struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014