[opencms-dev] Re: publishing jsp code

Thomas März thomas.maerz at gmail.com
Mon Jun 19 17:35:07 CEST 2006


Roberto Hervella Macía <rhervella at ahorro.com> writes:

> Does anybody know how to publish jsp content with OpenCms?
>
> As OpenCms template engine is actually a jsp, when I
> include some jsp code in a template, the OpenCms engine
> interprets this code. But what I want is that some jsp
> code not be interpreted and be published directly in the
> final page.
>
> Does anybody know how to do it?

Create a Text-resource with your jsp-code and include it in
your template.

| cms.include("text.jsp");

Regards,
Thomas




More information about the opencms-dev mailing list