cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernhard Huber" <bh22...@i-one.at>
Subject Re: [RT]: Session support
Date Mon, 08 Oct 2001 17:13:45 GMT
Hi,
In cocoon1.8.2 there is already an processor 
called LinkEncodingProcessor.java
doing the url-rewriting..

----- Originalnachricht -----
Von: Berin Loritsch <bloritsch@apache.org>
Datum: Montag, Oktober 8, 2001 6:36 pm
Betreff: Re: [RT]: Session support

> Carsten Ziegeler wrote:
> > 
> > Hi Team,
> > 
> > I think it's time for a new rt...so here we go:
> > 
> > Cocoon 2 supports session handling. Mainly this is a feature
> > supported by the servlet engine and Cocoon simply uses it.
> > 
> > However, writing real world applications requires a little
> > bit more effort than necessary when it comes to url rewriting.
> > If your servlet engine uses url rewriting and not cookies,
> > every url has to be rewritten. Unfortunately this has to
> > be done manually!
> > I would like to have it automatically (at least for html)!
> > What I thought of is enhancing the html serializer, so that
> > he rewrites urls (links etc) if necessary. Unfortunately
> > this is not possible, as the serializer does not get the
> > objectModel!
> > So a working solution could be a simple transformer before
> > the serializer which does exactly this.
> > 
> > What can we do?
> 
> Regular redirects and such already use URL rewriting.  To
> accomplish what you need, you will have to write a transformer
> to process all "href" attributes and rewrite the links.
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 

Mime
View raw message