• Post Reply Bookmark Topic Watch Topic
  • New Topic

File Upload Help needed

 
Tina Desai
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • 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
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!