cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Juffer <ajuf...@sun3.oulu.fi>
Subject Re: RESTful applications
Date Tue, 21 Sep 2010 18:06:24 GMT
On 09/21/2010 07:41 PM, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andre,
>
> On 9/21/2010 6:22 AM, Andre Juffer wrote:
>> 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.
>
> Correct: you can configure the DefaultServlet specifically for an
> individual webapp if you choose. Otherwise, you inherit the "global"
> configuration that gets applied to all webapps.
>
>> I thought that the readOnly configuration parameter could be employed
>> only for the default webapp (DefaultServlet).
>
> I think you're confusing webapps (represented by a ServletContext
> object) with servlets, of which the DefaultServlet is one. Each webapp
> gets a copy of a DefaultServlet deployed into it to handle requests not
> otherwise mapped.

OK, got it. Thanks for pointing this out. I learn these things on the 
fly and get sometimes the terminology wrong.

>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkyY4FAACgkQ9CaO5/Lv0PCv/gCfaO/R2awXV7MXwq7vRkzsrrpU
> 4FcAniEuYEh92U/XXGFbB7JStJfY++JO
> =Mori
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


-- 
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