• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

File Upload Help needed

 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,

I need some help on file upload.

1. I have an understading that the Jakarta Commons FileUpload needs struts Framework. Is this understanding right?

2. The MultipartRequest classes can be used in a totally JSP driven client side. We do not have servlets etc for controlling logic. All our flow is managed using JSPs only. However, I have always seen the MultipartRequest processing done in a servlet. Will it function properly if the logic is written in a JSP?

3. Is there any other free File Upload related component other than these two? It will be a great help if you suggest any other good and widely used component.

Regards,
Tina
 
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. No, Struts is not required.

2. It can, but it's a really really REALLY bad idea. What's your beef with servlets?

3. What two? You've only mentioned one. Yes, there are more upload packages available. See the JSP FAQ.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Tina Desai:
Hello All,

I need some help on file upload.

1. I have an understading that the Jakarta Commons FileUpload needs struts Framework. Is this understanding right?



No, that is not right.
Struts ships with fileupload embedded.
That may be the source of the misunderstanding.

[klunk]


I'm assuming that Tina is referring to the Jakarta Fileupload tool and the O'Reilly MultipartRequest libraries.
[ May 05, 2006: Message edited by: Ben Souther ]
 
Tina Desai
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No problem with servlet.
We are working on some auto generated code.

Good to know that we can use the Jakarta Commons File Upload even when we do not use struts.

I need to download the binary 1.1.zip from http://jakarta.apache.org/site/downloads/downloads_commons-fileupload.cgi link. Is it right?

Regards,
Tina
 
Tina Desai
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ben Souther:
I'm assuming that Tina is referring to the Jakarta Fileupload tool and the O'Reilly MultipartRequest libraries.



Yes, that's right

Regards,
Tina
 
You’ll find me in my office. I’ll probably be drinking. And reading this tiny ad.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic