Solved

Upload file

Posted on 2002-05-02
3
366 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Getting to know the threat landscape in which DDoS has evolved, and making the right choice to get ourselves geared up to defend against  DDoS attacks effectively. Get the necessary preparation works done and focus on Doing the First Things Right.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

622 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