> 2) Our front end is all .jsp pages. How do we set things up so that our
> servlet engine first processes the .jsp page, then feeds the resulting
file
> to Cocoon? We need to use Java calls from the JSP pages to pull the data
> that will go on our reports. Assuming we'd use an XML template in the JSP
> page instead of an HTML one. The server would need to first process the
> Java in the JSP page to fill in the xml tags in the page. Then, this page
> would go through cocoon, get translated, marked-up, etc. Is this the
> correct way to do it, and how do we do this?
If you can get your jsp pages to produce some kind of XML data, you can use
the JspGenerator to feed the result onto a cocoon pipeline. So, yes it is
feasible. I've only done simple stuff this way, though.
How do you configure to feed the result onto a cocoon pipeline? As I
understand, the way cocoon get to serve a request is through a certain uri
pattern, let say, http://localhost/cocoon/something.xml... From a JSP page,
when you're finished constructing XML data, how can you feed the data to a
cocoon producer? I have the same need as Darrel but are still struggling to
find the way. Please help.
---------------------------------------------------------------------
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]>