Solved

Upload file

Posted on 2002-05-02
3
356 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
Comment Utility
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
Comment Utility
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
Comment Utility
Glad I could help, Thanx for the "A"
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now