I use maven/jetty in my development environment. I put my web.xml file in myBlock folder and in my pom file I define:
      <plugin>
        <groupId>org.mortbay.jetty</groupId>
        <artifactId>maven-jetty-plugin</artifactId>
        <version>...</version>
        <configuration>
                ...
                <webXml>web.xml</webXml>
        </configuration>
      </plugin>
This tells jetty to use my web.xml file and not the one that is generated.

In myApplication I just edit web.xml file in src/main/webapp/WEB-INF.

Barbara

On 24 Jul, 2008, at 3:09 pm, Matthias Müller wrote:

hi there,

i try to migrate my cocoon 2.1 project to 2.2

i need to set the enable-uploads param to true in WEB-INF/web.xml since my upload widgets won't work properly otherwise. but as far as i understand, the web..xml is generated during the deployment process.

so, where do i have to set the right properties?

is it the rcl.proporties in the projects root? i tried to set 'org.apache.cocoon.uploads.enable=true' but i didn't receive a change in the generated web.xml. i also tried to edit the in META-INF/cocoon/spring/block-servlet- service.xml, like this

<servlet:init-params>
  <entry key="enable-uploads" value="true" />
  <entry key="upload-max-size" value="10000000" />
</servlet:init-params>

with the same result.

regards,
matthias



      __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com


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



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

Reply via email to