Quoting Jörn Heid <[EMAIL PROTECTED]>:
> Thanks for answer.
>
> But there's a problem:
>
> 'Giacomo' wrote: "An XSP page is a generator, point.". As I have to use
> a
> xml page I would have to write a XSP which reads (from FileReader) the
> xml... I think that's not the best way as the pipeline should do this
> for
> me. So I wrote a transformer which works well, but I do not know hoe to
> get
> the HTTPServletRequest (written in another mail).
Use the following:
import org.apache.cocoon.environment.Request;
...
Request req = (Request) objectModel.get(Cocoon.REQUEST_OBJECT);
> Am I right? In C1 you could use XSP as a transformer and I'm looking fo
> something similar...
There are no such things like Transformers in C1 (AFAIR). But as I'm not very
familiar with C1 you might know better.
Giacomo
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>