[opencms-dev] How to include a jsp in a html page[Scanned]

Michael, Nick N Nick.Michael at standardbank.co.za
Fri Nov 4 07:14:41 CET 2005


Option 1
Rename your html page to .jsp
Not that now you will not be able to use the wysiwyg editor 
But now you can include

Option 2
Use a JSP template that includes the second JSP
This template is used as the template of the HTML 
Page and through its jsp functionality you can include indirectly from the
second JSP

This is the better option

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jon Mayes
Sent: Thursday, November 03, 2005 19:40
To: The OpenCms mailing list
Subject: RE: [opencms-dev] How to include a jsp in a html page[Scanned]

You can't include jsp in html using the taglib in this way - unless I
presume if you set up the jsp parser to take care of html files as well...
I'm not sure exactly how one would set this up though - for PHP on Apache
you need to add an application handler, perhaps you could do the same for
html/jsp?

Jon

-----Original Message-----
From: Inmaculada Piquero Buedo [mailto:inpibu at hotmail.com]
Sent: 02 November 2005 09:28
To: opencms-dev at opencms.org
Subject: [opencms-dev] How to include a jsp in a html page[Scanned]

Hello, I´d like to know how can I include a jsp from an html page.

The idea, is that I´d like to have the possiblitiy of make an "exec" of a
jsp, when the html page is called.

I´ve used the <cms:include ..> directive, with "parameters" page, and file. 
I´ve used, the cms.include() call too, but I´m not able of seeing the jsp
from my html page.

<cms:include page= PATH to my jsp/name.jsp /> <cms:inclue file= PATH to my
jsp/name.jsp /> cms.include ("PATH to my jsp/name.jsp ");

Which parameters of the cms.include can I use, and how to use it?

Please, could you giving me an advice of how to include this kind of file?

Thanks in advance,
Regards.

_________________________________________________________________
Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu
ocio con MSN Entretenimiento. http://entretenimiento.msn.es/



_______________________________________________
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 
 
Jon mayes
Marketing & Business Systems
Pegasus Retirement Homes plc
Tel: 
Fax: 
Email: jon.mayes at pegasus-homes.co.uk 
 
For more information on Pegasus please visit our web site at
www.pegasus-homes.co.uk 

 
Privileged/Confidential information may be contained in this message.  If
you are not the addressee indicated in this message (or responsible for
delivery of the message to such person), you may not copy or deliver this
message to anyone.  In such case, you should destroy this message and kindly
notify the sender by reply email.  Please advise immediately if you or your
employer does not consent to Internet email for messages of this kind.
Opinions, conclusions and other information in this message that do not
relate to the official business of my firm shall be understood as neither
given nor endorsed by it.


_______________________________________________
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

__________________________________________________________________________________________________________________________________

Standard Bank Disclaimer and Confidentiality Note

This e-mail, its attachments and any rights attaching hereto are, unless the context clearly indicates otherwise, the property of Standard Bank Group Limited
and/or its subsidiaries ("the Group"). It is confidential, private and intended for the addressee only. Should you not be the addressee and receive this e-mail by
mistake, kindly notify the sender, and delete this e-mail, immediately and do not disclose or use same in any manner whatsoever. Views and opinions
expressed in this e-mail are those of the sender unless clearly stated as those of the Group. The Group accepts no liability whatsoever for any loss or
damages whatsoever and howsoever incurred, or suffered, resulting, or arising, from the use of this email or its attachments. The Group does not warrant the integrity
of this e-mail nor that it is free of errors, viruses, interception or interference. Licensed divisions of the Standard Bank Group are authorised financial services providers
in terms of the Financial Advisory and Intermediary Services Act, No 37 of 2002 (FAIS).
For information about the Standard Bank Group Limited visit our website http://www.standardbank.co.za
___________________________________________________________________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20051104/f240030d/attachment.html>


More information about the opencms-dev mailing list