void sayHello(int n) throws SAXException {
for (int i = 0; i < n; i++) {
- Hello world i+1
}
}
Processing the beginning of the page
A Simple XSP Page
These 2 paragraphs were generated at the start of the XSP,
and captured for insertion at the end.
Brought to you by Cocoon at new Date().
Hi there! I'm a simple dynamic page generated by XSP (eXtensible Server Pages).
I was requested as the URI:
The following list was dynamically generated:
for (int i=0; i < 3; i++) {
-
Item i
}
The following list was generated by a subroutine:
sayHello(3);
"P".toLowerCase()
left
This paragraph was dynamically generated by logic embedded in the page
Request parameter "name" as XML:
Request parameter "name" as String:
Request parameter "name" as iso-8859-2 encoded String (with servlet
container encoding iso-8859-1):
Header "user-agent" as XML:
Header "user-agent" as String:
Access to input modules configured in cocoon.xconf:
page_part
Processing the end of the page