On Fri, 9 Aug 2002, Jacob Hookom wrote:

> Date: Fri, 9 Aug 2002 14:45:45 -0500
> From: Jacob Hookom <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> Subject: RE: Model 2X
>
> Or you can look at JSTL and their transform tags.  I'm working on a
> variation that will actually compile the XSL docs as translets and
> stores them as serialized objects in your WEB-INF for faster
> translation.
>

The XSLTC transformer in JAXP/1.2 (shipped with either the Java Web
Services Developer Pack or Java and XML Pack) does something very similar
to this -- it converts a stylesheet into a Java class and auto-compiles
it, very similar to what a JSP container does for JSP pages.  Because this
capability is still accessed via standard JAXP APIs, you can use it in
conjunction with JSTL's transform tags, or any other use of a Transformer.

> With JSTL, you can just output the pages, but wrap all the content in
> transform tags.
>

Craig


> | -----Original Message-----
> | From: Todd G. Nist [mailto:[EMAIL PROTECTED]]
> | Sent: Friday, August 09, 2002 9:41 AM
> | To: 'Struts Users Mailing List'
> | Subject: RE: Model 2X
> |
> | Darren,
> |
> | Have you looked at "Struts for transforming XML with XSL (stxx)"
> project
> | by
> | Jeff Pennal, Openroad Communications.
> |
> | May help in what you are trying to achieve.
> |
> | http://www.openroad.ca/opencode/stxx/index.html
> |
> | Regards,
> |
> | Todd G. Nist
> |
> | -----Original Message-----
> | From: Darren Hill [mailto:[EMAIL PROTECTED]]
> | Sent: Friday, August 09, 2002 9:30 AM
> | To: 'Struts Users Mailing List'
> | Subject: RE: Model 2X
> |
> |
> | I've tried a little ... I also looked into combining Struts with
> Cocoon ..
> | again, failed ( but didn't spend much time on it yet ) .. I think that
> | would
> | be the ultimate ... anyone do a Struts/Cocoon combo?
> |
> | -----Original Message-----
> | From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> | Sent: August 9, 2002 8:21 AM
> | To: [EMAIL PROTECTED]
> | Subject: Model 2X
> |
> |
> | I'd like more information on Model 2X which is supposed to replace the
> jsp
> | portion with XML and XSLT. The Struts user guide shows how to
> implement
> | the
> | view portion using jsp's but not XSLT as far as I can see.
> |
> | Where can I get more information on implementing Model 2X? Has anyone
> here
> | used this model? A link to a tutorial or sample would be helpful.
> |
> | Any pointers are appreciated.
> |
> | John
> |
> |
> |
> | --
> | To unsubscribe, e-mail:
> | <mailto:[EMAIL PROTECTED]>
> | For additional commands, e-mail:
> | <mailto:[EMAIL PROTECTED]>
> |
> | --
> | To unsubscribe, e-mail:
> | <mailto:[EMAIL PROTECTED]>
> | For additional commands, e-mail:
> | <mailto:[EMAIL PROTECTED]>
> |
> |
> |
> | --
> | To unsubscribe, e-mail:   <mailto:struts-user-
> | [EMAIL PROTECTED]>
> | For additional commands, e-mail: <mailto:struts-user-
> | [EMAIL PROTECTED]>
> |
> | ---
> | Incoming mail is certified Virus Free.
> | Checked by AVG anti-virus system (http://www.grisoft.com).
> | Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
> |
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to