[opencms-dev] XML or JSP Template mechanism?

Alexander Kandzior alex at opencms.org
Fri May 9 12:10:01 CEST 2003


Mark,

you can also export JSP based pages just like pages bsed on
XMLTemplates. Just set the "export" property for the files / folders. If
you create a JSP, it will have automatically set "export" to "false".
Just change this to "true" and here you go...

I should add that the documentation about the export is rather thin as
of today, and the current implementation has room for improvement.
Hopefully we at Alkacon will be able to attend this later this year. If
someone else wants to volunteer in writing documentation or even
re-writing the exort code, please step forwared now. Beware: Getting the
docs and/or the code right will require a considerable amount of time. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com




> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of mfoley5 at csc.com.au
> Sent: Friday, May 09, 2003 11:50 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] XML or JSP Template mechanism?
> 
> 
> Hi All,
> 
> I have read in the documentation for OpenCms 5 that it is now 
> preferred that developers use the JSP template mechanism 
> instead of the proprietary XML templates:
> 
> Page 117:
> "Since Version 5 of OpenCms, we suggest to build templates 
> and all subelements based on Java Server Pages (JSP)." and 
> "The proprietary XML template mechanism is still a part of 
> OpenCms for backward compatibility reasons. We recommend the 
> use of JSP templates for new projects."
> 
> Does the use of JSP templates mean that by publishing our 
> content we will no longer be able to distribute web pages to 
> our webservers for direct access by web clients?  Our current 
> system layout has an appserver with two redundant webservers, 
> and we replicate the "/export" content emitted by OpenCms to 
> the webserver for faster delivery to the client browser.  Any 
> pages which have an embedded JSP are forwarded to the 
> appserver (WebLogic) to be served.  This results in a much 
> reduced appserver load and much lower use of the inter-server 
> bandwidth.  This behaviour certainly endeared OpenCms to our 
> infrastructure people.
> 
> (Or should I RTFM, Alex?)
> 
> Thanks for any clarification,
> Mark
> 
> Mark Foley
> __________________________________________________
> CSC
> 212 Northbourne Ave, Braddon, ACT 2612
> Ph: +61-2-62468487    Email: mfoley5 at csc.com.au
> 
> --------------------------------------------------------------
> --------------------------
> 
> This is a PRIVATE message. If you are not the intended 
> recipient, please delete without copying and kindly advise us 
> by e-mail of the mistake in delivery. NOTE: Regardless of 
> content, this e-mail shall not operate to bind CSC to any 
> order or other contract unless pursuant to explicit written 
> agreement or government initiative expressly permitting the 
> use of e-mail for such purpose.
> --------------------------------------------------------------
> --------------------------
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 




More information about the opencms-dev mailing list