[opencms-dev] JSP Template with Frames II

Joachim Arrasz info at arrasz.de
Tue Jul 22 16:41:02 CEST 2003


When you create a jsp page ...

you have to sign jsp for new page type and you should name it

with .jsp as suffix ! so after publishing the page the name will become
yourpage.jsp.jsp

In this case it works fine for us

Regards Acim

-- 
Questions about OpenCMS?
--> www.synyx.de/board


> Wim Baaijens>
> Hello,
>
> I have a problem with frames and jsp templates.
>
> I have create a XML Mastertemplate which points to an JSP Template as
> described in the Alkacon modules.
> The JSP template defined some html frames which uses other jspfiles.
> These are stored in the same folder 'jsptemplates' in the module.
> In one of the jspfiles i've placed this tag:
>
> <body bgcolor="#CCCCCC" background="../resources/bg_1.gif"
> leftmargin="0" topmargin="0" bgproperties="fixed" marginwidth="0"
> marginheight="0">
>  <cms:include element= "body"/>
> </body>
>
> But the element is not included in the final html page.
> When I look in the source from Internet Explorer, the <cms> tag is not
> parsed to the right page, but the body background is shown correctly in
> Internet Explorer?????????????
> Does anybody know the solution?
>
> Are these tag's required in html or jsp pages and what means these
> tags: 1. <!doctype html public "-//W3C//DTD HTML 4.01 Frameset//EN"> or
> <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
> 2. <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1">
> 3. <%@ page session="false" %>
>
> Greetings,
>
> Wim






More information about the opencms-dev mailing list