> From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
> 
> Hi Vadim,
> 
> Yes, but how do i validate against a session attribute? The example
> shows just request.getParameter("param"), Session.getAttribute gives
an
> error.

request.getSession().getAttribute()?

There is no 'session' field declared in the XSP, only local variable in
generate() method. Which could be changed, btw... if it makes sense.

 
> Is there anything I can do about the Cinclude?

There is CachingCIncludeTransformer.

PS This topic was discussed some time ago

Vadim

 
> Michael
> 
> -----Ursprüngliche Nachricht-----
> Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 12. August 2002 16:40
> An: [EMAIL PROTECTED]
> Betreff: RE: XSP Caching & Cinclude
> 
> 
> > From: Michael Zehrer [mailto:[EMAIL PROTECTED]]
> >
> > Hi List,
> >
> > can someone explain the miracles of XSP caching to me. In my case I
> > have
> > a xsp generator, which includes data from the session, a taglib, and
> > some static xml from the Cinclude transformer, I want at leat the
> > Cincluded data to be cached.
> 
> In XSP, you decide what and how to cache. See cacheable.xsp in
examples.
> 
> If you want to store several results of this XSP, you generate
different
> keys. Then, you provide validity for each of these results.
> 
> Vadim
> 
> 
> > Michael


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to