cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Juffer <andre.juf...@oulu.fi>
Subject Re: RESTful applications
Date Tue, 21 Sep 2010 10:22:10 GMT
Christopher,

On 09/20/2010 11:38 PM, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>    
>
>> [The DefaultServlet has a] readonly parameter in web.xml to change this behavior,
>> but indeed this would not have any impact since the request is handled
>> by my cocoon2.2-based servlet.
>>      
> Exactly: DefaultServlet was written to implement PUT as specified in the
> HTTP specification, and knows nothing about your REST stuff.
>    

I found this (for Tomcat 5)

http://webcache.googleusercontent.com/search?q=cache:lJ-4J6f0GPQJ:old.nabble.com/How-to-configure-Toncat-to-accept-HTTP-PUT-requests--td18652489.html+%22HTTP+PUT%22+Tomcat&hl=en&strip=1

Seems to indicate that one can apply this to the individual wepapps as 
well. I thought that the readOnly configuration parameter could be 
employed only for the default webapp (DefaultServlet).

-- 
Andre H. Juffer              | Phone: +358-8-553 1161
Biocenter Oulu and           | Fax: +358-8-553-1141
Department of Biochemistry   | Email: andre.juffer@oulu.fi
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
StruBioCat                   | WWW: www.strubiocat.oulu.fi
NordProt                     | WWW: www.nordprot.org
Triacle Biocomputing         | WWW: www.triacle-bc.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message