Thanks for that post, Eduardo. I have been trying to figure out which of these models
to use,
as we
move toward storing all content in XML. Your model letter B is the one I'm leaning
toward
now, and was happy to see the tag example that Ryan Shriver sent around (the XSL tag
that you
wrap around XML). Currently I see a JSP page as a sort of paste up board (like in
pasting up
a newsletter). The parts we will paste on will be XML objects generated from Java
objects
that create the XML from SQL statements. The XML objects will be "pasted" to the page
along
with a session bean, a navigation bean, a logging bean, and a security bean. The JSP
pastes
these all into one page, that is rendered via a combination of XHTML and XSL, mostly
the
latter.
The only part I'm still trying to work out, is how to render to multiple file formats,
other
than HTML. I want icons on every report on our Intranet that they user can use to get
an
Excel version of the report, a PDF version of the Report, and an HTML printable version
(without the navigation and interface). I've been looking at Apache's FOP for doing
the PDF,
and have been able to generate tab delimited Excel docs directly from XSL (although
it's not
very clean and I can't apply it to a template).
--
Brian N. Burridge
Internet Architect
Ext 3515
The Internet Group - ITSS
Cox Target Media
"Until a person can say deeply and honestly, "I am what I am today because of the
choices I
made yesterday," that person cannot say, "I choose otherwise."
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets