[opencms-dev] How to use a jsp template in another jsp file using OpenCms

Joe Desbonnet jdesbonnet at gmail.com
Tue Sep 20 20:23:49 CEST 2005


This usually does the trick:

<cms:include property="template" element="head" />
<%
/* JSP code here */
out.println ("Hello world!");
%>
<cms:include property="template" element="foot" />


Joe.


On 16 Sep 2005 12:47:04 -0000, Syed Mujahid Basha <
mujahid_basha at rediffmail.com> wrote:
> 
> 
> 
> I am a new user to OpenCms (version 6.0). I have one jsp template in my 
> module named "myjsptemplate". When i created a .html file using this module, 
> it is working fine (I have selected myjsptemplate in the template list while 
> creating the .html file). But, i don't know how to use the same template in 
> my jsp file (I could not find the list of templates while creating the .jsp 
> file). Some one please help me. 
> Regards, 
> Syed Mujahid Basha, 
> PlanetAsia.com Limited. 
> Bangalore. 
> 
> 
> <http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3> 
> 
> 
> _______________________________________________
> 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
> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050920/6180341d/attachment.htm>


More information about the opencms-dev mailing list