cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: RESTful applications
Date Tue, 21 Sep 2010 16:41:52 GMT
-----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.

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


Mime
View raw message