[opencms-dev] Problem with JSP template

alicewin at collegeclub.com alicewin at collegeclub.com
Thu Sep 4 05:55:01 CEST 2003


 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


More information about the opencms-dev mailing list