Thank a lot, I fact I don't know how to set static variables in the spring configuration of the block but I will look for it. If you can send a small example it would be great.
Best regards, Jean-Claude 2008/1/28, Grzegorz Kossakowski <[EMAIL PROTECTED]>: > > Jean-Claude Vogel pisze: > > Thank for your reply, > > > > Like you said, I tried to add an "upload-max-size" init param in the > > Spring configuration of the Cocoon SitemapServlet but I have still the > > same error. > > > > Here is what I wrote : > > <bean id="zzz.ma-adminui.block" > > class="org.apache.cocoon.sitemap.SitemapServlet"> > > <servlet:context mount-path="/ui" > > context-path="blockcontext:/ma-adminui/" > > > > > <servlet:init-params> > > <entry key="upload-max-size" value="10000000" /> > > </servlet:init-params> > > > > <servlet:connections> > > <entry key="ajax" > > value-ref="org.apache.cocoon.ajax.impl.servlet" /> > > <entry key="forms" > > value-ref="org.apache.cocoon.forms.impl.servlet" /> > > <entry key="services" value-ref="zzz.ma-service.block"/> > > </servlet:connections> > > </servlet:context> > > </bean> > > > > Perhaps is my syntax wrong, I am still looking for it on the net. > > Your syntax is right. I have taken a closer look and found that we have > changed whole mechanism and > configuration for it. > > Now you need to configure it using properties, the list of them you can > find there [1]. I hope you > know how to set them in your block. > > Actually, it's perfect work for some volunteer to add this information to > documentation, for > example, as a FAQ entry. > > [1] > > http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/servlet/multipart/MultipartConfigurationHelper.java?view=markup > > -- > Grzegorz Kossakowski > Committer and PMC Member of Apache Cocoon > http://reflectingonthevicissitudes.wordpress.com/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
