Ravi had some notes about this here: 

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg15849.html

At Jakarta, we use Ant to build our HTML pages from XML and XSL. See the
Struts source distribution for an example. 

I haven't tried it, but I keep thinking it would be interesting to do
the same with JSPs.

This would gives you the flexibility of XML,XLS without changing how you
write your applications (e.g. custom tags), or incurring the overhead of 
the runtime transformations.

-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3463
-- http://www.husted.com/about/struts/


Denis Goeury wrote:
> 
> Hi,
> 
> I am currently in the process of evaluating Struts to rewrite our
> presentation layer. For now, I think it provides almost all the support we
> need (except for multipage forms) but its JSP oriented model is a kind of
> limitation for us. That's because our current presentation layer is done by
> using XML documents and XSL templates and we want to keep those
> technologies.
> 
> To fix this issue I was thinking about creating one servlet that could be in
> charge of creating the XML pages. This servlet would receive requests (from
> the RequestDispatcher) like /checkout.xml and construct the Checkout XML
> document. With this approach we will probably loose the support provided by
> TagLibs.
> 
> Is there a better solution? What about XTags Taglib?
> 
> Thanks a lot for all the ideas you can give me,
> 
> Denis Goeury.

Reply via email to