[opencms-dev] Is it possible to include html into jsp page?

Arash Kaffamanesh arash.kaffamanesh at pomegranate.de
Tue Jan 17 18:30:39 CET 2006


Thierry,

Good news, I'm sorry to have given you the wrong answer on the forum, I
apologize.

With this is it possible to wysiwyg editing jsp templates?
It would be great and I can remember that this was not possible for
OpenCms 5.

Thanks,

Kind Regards,
Arash

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Thierry Collogne
Sent: Dienstag, 17. Januar 2006 09:41
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] Is it possible to include html into jsp page?



I just found the solution (at last).

I was using "<cms:include file="index.html"/>" and this throwed a 
nullpointerexception. It seems that i had to add the element attribute
like 
this

    <cms:include file="index.html" element="body" />

Now it works.


>From: "Thierry Collogne" <tcollogne at hotmail.com>
>Reply-To: The OpenCms mailing list <opencms-dev at opencms.org>
>To: opencms-dev at opencms.org
>Subject: [opencms-dev] Is it possible to include html into jsp page?
>Date: Tue, 17 Jan 2006 08:26:03 +0000
>
>Hi all,
>
>I am running opencms 6.0.3 and I am trying to include a html page into 
>a
>jsp page, but I can't get it to work. I have no problem including
another 
>jsp page into the jsp, but html pages won't work.
>
>I am using the following code (jsp and html page are in the same 
>folder)
>
>   <cms:include file="index.html"/>
>
>I have also tried using the api, but the result is the same. Is there 
>perhaps something special I must do in order for it to work? Is it 
>possible to include a html page into a jsp?
>
>Can someone help me, please, because I am running out of ideas.
>
>Thank you,
>
>Thierry
>
>
>
>_______________________________________________
>This mail is sent to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please 
>visit http://lists.opencms.org/mailman/listinfo/opencms-dev



_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list