cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <cocoonge...@yahoo.com>
Subject Re: AW: How may I get the FilePart object ?
Date Thu, 05 Dec 2002 15:13:48 GMT
Those changes were made after the 2.0.3 release. 
You'll need to either check 2.0.3 branch out of cvs,
or wait for the imminent 2.0.4 release.

However, you can also configure cocoon to totally
ignore all file uploads by changing the
request-factory implementation in web.xml.  

Look for: 
    <init-param>
      <param-name>request-factory</param-name>
     
<param-value>org.apache.cocoon.components.request.MultipartRequestFactoryImpl</param-value>
    </init-param>

And change the param-value to
org.apache.cocoon.components.request.SimpleRequestFactoryImpl

Geoff Howard

--- Tobias Maile <mele@haus-wg.de> wrote:
> 
> 
>   The FilePart object represents the uploaded file.
> Depending on how you
> configure "autosave-upload" parameter in
> WEB-INF/web.xml cocoon returns a
> FilePartFile (the file is written to disk;
> autosave-upload=true) or a
> FilePartArray (the file is in memory;
> autosave-upload=false).
> 
>   [Tobias] I can't find the parameter
> "autosave-upload" in WEB-INF/web.xml
> in Cocoon 2.0.3?
>   Did you know how to cancel the auto upload?
>   Thanks Tobias
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message