You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Zvi <th...@ifrance.com> on 2000/08/19 19:32:06 UTC
[C2] xsp-request logicsheet doesn't work
xsp-request logicsheet doesn't work in XSP demo page in Cocoon 2
that's what I get (change serializer to XML):
<?xml version="1.0" ?>
- <html>
- <head>
<title>A Simple XSP Page</title>
</head>
- <body vlink="blue" link="blue" alink="red" bgcolor="white">
<h2 style="color: navy; text-align: center">A Simple XSP Page</h2>
- <content xmlns:xsp-response="http://xml.apache.org/xsp/response"
xmlns:xsp-request="http://xml.apache.org/xsp/request">
- <p align="left">
<i>Hi there! I'm a simple dynamic page generated by XSP (eXtensible
Server Pages).</i>
</p>
- <p align="left">
- <i>
I was requested as the URI:
- <b>
<xsp-request:get-uri />
</b>
</i>
</p>
- <p align="left">
<i>The following list was dynamically generated:</i>
</p>
- <ul>
<li>Item 0</li>
<li>Item 1</li>
<li>Item 2</li>
</ul>
- <p>
<i>This paragraph was dynamically generated by logic embedded in the
page</i>
</p>
- <p align="left">
- <i>
Request parameter "name" as XML:
<xsp-request:get-parameter />
</i>
</p>
- <p align="left">
- <i>
Request parameter "name" as String:
<xsp-request:get-parameter />
</i>
</p>
<xsp-request:get-parameter-values />
<xsp-request:get-parameter-names />
- <p align="left">
- <i>
Header "user-agent" as XML:
<xsp-request:get-header />
</i>
</p>
- <p align="left">
- <i>
Header "user-agent" as String:
<xsp-request:get-header />
</i>
</p>
<xsp-request:get-header-names />
- <p align="left">
<i>Brought to you by Cocoon2 at Sat Aug 19 20:21:27 IDT 2000.</i>
</p>
</content>
</body>
</html>
Zvi