cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: Servlet via Servlet Services only
Date Tue, 25 Mar 2008 12:48:37 GMT
Vadim Gritsenko wrote:
> On Mar 25, 2008, at 9:21 AM, Grzegorz Kossakowski wrote:
>> Robin Wyles pisze:
>>> Hi,
>>>
>>> I have a servlet (eXist db) configured as a block using
>>> blockServlet.xml, this works well - my other blocks are able to perform
>>> DB operations using eXist's REST API through servlet services. But, is
>>> there a way I can make my eXist block 'private', i.e. only available via
>>> servlet services and not mounted to any publicly available path?
>>
>> What about creating Spring AOP's advice on service() method? You could 
>> check there type of Request
>> object and if it's non-SSF instance then you could return HTTP 405 
>> (Method Not Allowed) status code
>> as response.
> 
> IMHO Robin's scenario is not unique and ability to declare 'internal' 
> servlets should be a standard feature of SSF.

I agree with Vadim.

-- 
Reinhard Pötz                            Managing Director, {Indoqa} GmbH
                           http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member, PMC Chair        reinhard@apache.org
_________________________________________________________________________

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


Mime
View raw message