[opencms-dev] Problem with JSP template

M Butcher mbutcher at grcomputing.net
Thu Sep 4 08:24:01 CEST 2003


Search through the list archives for August. This issue was discussed a
few times. In short, you need to adjust your opencms.properties file in
$WEBAPP/opencms/WEB-INF/config/

Matt

On Wed, 2003-09-03 at 21:31, alicewin at collegeclub.com wrote:
>  Hello,
> 
> I defined a default.jsp template under jsptemplates folder.
> 
> Off-line, the page displays correclty.
> But after publish, the page is empty, only the text:
> [jsp]???
> 
> What is happenning?
> 
> Here is my default.jsp:
> 
> <%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
> <cms:template element="head"><%--
> 
> --%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=<cms:info property="opencms.request.encoding" />">
> <title>Test page</title>
> </head>
> <body>
> 
> <link title="Flex Stylesheet" href ="<cms:link>../resources/css/alice.css</cms:link>" type="text/css" rel="STYLESHEET">
> 
> 
> <!-- Header row -->
> </cms:template>
> 
> 
> <cms:template element="body">
> 
> <!-- Main row -->
> <cms:include element="body" />
> </cms:template>
> 
> <cms:template element="foot">
> 
> <!-- Footer row -->
> 
> 
>     <TABLE height=30>
>       <TR>
>        <TD width=170> </TD>
>        <TD width="100%" height="100%">
>          <CENTER><p><font face="arial,helvetica" size=-2>
>             foot here
>         </CENTER> </TD>
>      </TR>
>    </TABLE>
> 
> </body>
> </html>
> </cms:template>
> 
> 
> 
> -------------------------------------------------------------------------- 
> CollegeClub.com is ready for Back to School! Enter the Caption Contest, get advice or see the 'Old School' Flipbook.  
> http://navisite.collegeclub.com/backtoschool2003
-- 
M Butcher <mbutcher at grcomputing.net>



More information about the opencms-dev mailing list