[redhat-ccm-list] Example Template Jsp and Stylesheet

Kevin C. Flaherty kevin.flaherty at roadstead.org
Thu Jun 10 11:04:10 UTC 2004


Elizabeth, 

I am using 5.0.3 to create a document publishing system using strictly jsp (not .xsl stylesheets) and a helper class to render content from a template. It works roughly like this:

  * an administrator "publishes" a custom content item,
  * the publishToFile queue requests that content item, fx. /mysite/mysection/myfolder/content_item.jsp,
  * it gets handled by a custom dispatcher, 
  * that uses /packages/mysite/www/index.jsp, 
  * to resolve /packages/mysite/www/mysite/mysite.jsp
  * which is a top level jsp template including several dynamic sub-pages.
  * these sub-pages use the helper class to render content from the content item using the item's custom methods. 
  * the html results are written to the file system (/STATIC)
  * the file system content is served by an Apache staging server. 

The performance hit of serving jsp-based dynamic content is neutralized by this method of regularly generated static file, but this system could also be used to host dynamic content. The benefit which I see is that the prototyping process for pages is far less complex = faster. 

maybe this helps, 
<kevin>


Here's what Elizabeth C. Pascual (epascual at topgroup.com.ar) had to say:

> Hi all,
>         I am searching for an example/documentation on how to apply template jsp and stylesheet on a custom content type created by Administrative UI RedHat 5.0.3.
> 
> Thanks
> 
> 
> 
> Ing. Elizabeth Pascual
> Consultor Web
> TopGroup S.A.
> 
> http://www.topgroup.com.ar
> Bme. Mitre 739 - 6º Piso
> (C1036AAM) Bs. As. Argentina
> Tel.: +54 (11) 5238-0505 (Int. 113)
> Fax: +54 (11) 5238-0506
> epascual at topgroup.com.ar
> 
> 
> -- 
> Redhat-ccm-list mailing list
> Redhat-ccm-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-ccm-list
> Archives: https://www.redhat.com/pipermail/redhat-ccm-list/

-- 
Kevin C. Flaherty			email:  kevin at roadstead.org
Roadstead Consulting		www:	www.roadstead.org
Badstuestraede 3			work:   +45 26 29 90 94
1209 Copenhagen K			IM:	roadstead_rap (YahooIM)
Denmark					





More information about the Redhat-ccm-list mailing list