Jeroen ter Voorde wrote:

> Nicola Ken suggested that the upload mechanism should be rewritten. I'm
> willing to do
> this (including some major speedups of the multipart parser) but i could use
> some pointers how
> to do this.

Well, here are some small pointers:
1- check out the upload component in jakarta-commons, it may be nice
2- remove the fixed dir from web.xml, and make that a param

Basically, you will see that the Request is created by wrapping the 
HttpServletRequest; there are RequestFactories in the components, and 
wrappers in environment.

Base yourself on real-life use cases and why you-others are having 
problems with the current version, and fix that :-)

-- 
Nicola Ken Barozzi                   [EMAIL PROTECTED]
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to