home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!--
- Copyright 1999-2004 The Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- -->
-
- <!-- CVS $Id: dynamic.xsp,v 1.3 2004/04/05 12:34:23 antonio Exp $ -->
-
- <xsp:page language="java"
- xmlns:xsp="http://apache.org/xsp"
- xmlns:an-xsp="urn:xsp"
- xmlns:an-xsp-request="urn:xsp-request">
-
- <an-xsp:page language="java">
-
- <page>
- <title>Dynamic XSP page, served by sub-sitemap</title>
-
- <content>
- <para>Hi there! I'm a very complex dynamic page generated by XSP
- (eXtensible Server Pages), with source dynamically generated by XSP.
- Nobody should use such complex constructs while in good health :)</para>
- <para>
- My source resides in the file <b>cocoon/sub/docs/dynamic.xsp</b>.</para>
- <para>
- My source was generated by XSP at <b><xsp:expr>new Date()</xsp:expr></b>.</para>
- <para>I know that I was requested as the URI <b>
- <an-xsp-request:get-uri as="xml"/></b>,
- and executed at <b><an-xsp:expr>new Date()</an-xsp:expr></b>
- by <b><an-xsp:expr>Constants.COMPLETE_NAME</an-xsp:expr></b>.
- </para>
- </content>
- </page>
- </an-xsp:page>
-
- </xsp:page>
-