Solved

Upload file

Posted on 2002-05-02
3
358 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
object methods vs static methods 2 93
tomcat users xml 7 104
java beans and EJBs 5 185
How to set default webapp for host 6 45
Citrix policies are the most efficient method to configure and tune XenDesktop environments, allowing organizations to control connection, security and bandwidth settings based on various combinations of users, devices or connection types.  Citrix …
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

948 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

18 Experts available now in Live!

Get 1:1 Help Now