[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    Re: MultipartDecoder maxSize setting?
From:       Ryan Holmes <ryan () hyperstep ! com>
Date:       2006-04-30 20:19:55
Message-ID: 44551BEB.4010504 () hyperstep ! com
[Download RAW message or body]

Yes, that's correct. The docs need to be updated. The 
tapestry.multipart.MultipartDecoder service id was changed to 
tapestry.multipart.ServletMultipartDecoder, probably to help 
differentiate it from the 
tapestry.portlet.multipart.PortletMultipartDecoder service id.

An easy way to look up HiveMind service id's is via the HiveDoc report 
on the Tapestry home page. It's in the menu under 
Framework->Reports->HiveDoc.

-Ryan

Stanczak Group wrote:
> Seems changing it to ServletMultipartDecoder fixes it, but is the the
> correct way?
>
> Here's what I have in the hivemodule.xml:
>
> <implementation service-id="tapestry.multipart.ServletMultipartDecoder">
>         <create-instance
> class="org.apache.tapestry.multipart.MultipartDecoderImpl,maxSize=-1"
> model="threaded" />
>     </implementation>
>
> Stanczak Group wrote:
>   
>> What's the new method to set the max file size, I can't seem to find it
>> in the docs, google, or in the code. Also if someone could point out how
>> to look in the code and find the answer it would help me in the future.
>> Here's the story. Was using 4.0 and set the maxSize like said on the
>> docs. Got message that parameter didn't exist. Looked in code to see it
>> wasn't there. Download 4.0.1 looked in code to see it was there, and it
>> was. Setup like online docs say and now get "unknown service point
>> tapestry.multipart.MultipartDecoder.". So, looked in sources again to
>> find answer, but don't know how to find it (for example in /WEB-INF,
>> didn't see the answer in tapestry.multipart.xml).
>>
>>   
>>     
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic