cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <>
Subject Re: DispatcherServlet
Date Wed, 30 May 2007 15:07:32 GMT
Carsten Ziegeler wrote:
> Grzegorz Kossakowski wrote:
>> Reinhard Poetz pisze:
>>> Some suggestions
>>> servlet:byId:com.mycompany.block1.servlet:/...
>>> servlet:!com.mycompany.block1.servlet:/...
>>> servlet:~com.mycompany.block1.servlet:/...
>>> servlet:@com.mycompany.block1.servlet:/...
>>> My favorite is the last one.
>> I really like last one. I would agree to have such a syntax.
> Now, I don't want to spoil the contest here, but I would be great if we 
> could choose a real url syntax which is parsable by the 
> class. It is a) good to have valid urls 

what's wrong with e.g. servlet:@com.mycompany.block1.servlet:/...?

> and b) a long time ago we had 
> the idea of just using plain implementations instead of the 
> source resolver bean (and actually I'm currently working on this), so 
> all sources which are now available through the source resolver will be 
> available using the plain java api.
> So, I think its worth considering this now :)

AFAIU, we have to register our own protocols. For that purpose we have to call

and according to the javadocs it can only be called once per JVM. Is it a good 
idea to rely on having to be the first?

Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}


View raw message