Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Upload file

Posted on 2002-05-02
3
Medium Priority
?
372 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 200 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
Your business may be under attack from a silent enemy that is hard to detect. It works stealthily in the shadows to access and exploit your critical business information, sensitive confidential data and intellectual property, for commercial gain. T…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

824 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