A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
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
It is sorta covered in the
JavaRanch Style Guide
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-2014