This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No in built support for multi part request

 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is there no direct support for multipart request in Servlet API?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to ask the folks who wrote the specs.
servletapi-feedback@eng.sun.com
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ben.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Be sure to post back if they respond.
 
Scott Selikoff
author
Saloon Keeper
Posts: 4010
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pradip-

I completely agree.

Multi-part requests are one of those annoying areas in JSP writing you try to avoid at all costs, and end up having to add 3rd party jars to get the job done. Why there's no transparent support I haven't got a clue.
 
D Rog
Ranch Hand
Posts: 472
Linux Objective C Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Size is the key. Parts can be several gigabytes, so a standard support has to store them somewhere then give you a streamed access. The space has to be utilized after usage. If I were an author of the speac, I wouldn't deal with this complexity.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ben Souther:
Be sure to post back if they respond.


I dont think they read the mail or reply. I remember having sent an email (and it was not a stupid question)to EJB team 1.5 years ago and havent got any reply for that. In case they reply for the Servlet question I will send post the reply here.

Thanks.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got the reply from Sun.


This is something that the Servlet EG has discussed and we plan to
address this in the next servlet specification.

-Greg Murray

Servlet Specification Lead


 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15214
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the meantime, you can use the Apache Jakarta Commons FileUpload library to handle multipart requests.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic