Hi,

I need to pipeline the output from the Struts based application (the
output will be a generically marked up XML) to various output formats
(PDF & HTML for now). This should approximate to the 'Two Step View'
pattern, which seems to make sense. The flow can be sketched as:

Browser --(request)--> WebApplication --(XML)--> Transformation
Pipeline: [XML to PDF] OR [XML to HTML]

I looked into Cocoon, but want to use only the 'pipeline' functionality
and keep all logic elsewhere if possible (XSP plainly sucks for complex
websites; the 'action' class is not very impressive as well). It seems
like Cocoon plugin should make the trick. The only problem is the last
release is dated back to 2004. Mailing list is not maintained anymore
and it seems there is no more development done there.

I wonder if anyone used this configuration (Struts & Cocoon) in
production environment and if it is reasonably stable?

Another thing that came across as a possibility is 'stxx' project. But
it seems to actually replace Struts, which I don't want (you need to
extend your Action classes from a different, stxx, base class and I
don't want this lockin. Plus I want to generate XML through templates,
while Stxx requires you to send a 'prebuild' DOM tree to the input).

The last possiblity I'm considering is moving from Struts to WebWork2
altogether and try to use the Interceptors to generate output in
different formats. Not really sure how well it might work out.

Please, let me know your thoughts on what approach might be the best.

Thanks.

Vlad

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

Reply via email to