Solved

Upload file

Posted on 2002-05-02
3
363 Views
Last Modified: 2010-04-01
I want the user using my Jsp page to be able to upload an image to me.  How would i go about this?
0
Comment
Question by:menreeq
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
cheekycj earned 50 total points
ID: 6986166
Jason Hunter has a package com.oreilly.servlet.MultipartRequest available on www.servlets.com that will do this for you.

Other options:

http://www.jspsmart.com/scripts/pub/tpl/ShowTplADV_01.asp?P=256&L=EN [free JSPUpload component]

good list here:
http://www.hotscripts.com/Java/JSP_and_Servlets/File_Manipulation/Upload_Systems/

a really good example here:
http://www.api4java.net/mime_example_3.html

here is a guide/tutorial on it:
http://www.devsphere.com/mapping/docs/guide/upload.html

HTH,
CJ

0
 
LVL 1

Expert Comment

by:mraible
ID: 6987688
Struts (http://jakarta.apache.org/struts) has an upload example application.  Once you start using Struts, you might find you really like it - I did ;)
0
 
LVL 19

Expert Comment

by:cheekycj
ID: 6988573
Glad I could help, Thanx for the "A"
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
xjc and jaxb 2 95
maven webservice example issue 2 144
timeToIdleSeconds vs timeToLiveSeconds in hibernate second level cache 3 139
listing all functions in JavaScript 19 218
Many businesses neglect disaster recovery and treat it as an after-thought. I can tell you first hand that data will be lost, hard drives die, servers will be hacked, and careless (or malicious) employees can ruin your data.
There's a lot of hype surrounding blockchain technology. Here's how it works and some of the novel ways it' s now being used - including for data protection.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question