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
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
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,
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
upload .tiff file
Uploading an image
how to upload an image through jsp
Uploading & displaying images using Struts
how to upload and retrive a image from mysql database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015