Hi
here more information...
my hello_world.xsp:
-----------
<?xml version="1.0" encoding="UTF-8"?>
<xsp:page
language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
xmlns:i18n="http://apache.org/cocoon/i18n/2.0">
<para>Hello <xsp-request:get-parameter name="hello"/>.</para>
</xsp:page>
-----------
=> There is no typo and the XSP Namespace is declared...
sitemap:
<map:components>
...
<map:actions>
<map:action name="hw" src="vis.HelloWorldAction"/>
</map:actions>
...
</map:components>
<map:pipelines>
<map:pipeline>
<map:match pattern="hw">
<map:act type="hw">
<map:generate type="serverpages" src="xsp/{world}_world.xsp"/>
</map:act>
<map:serialize/>
</map:match>
...
--------------
HelloWorldAction.java:
-------
... package declaration, bunch of imports, class start, method start
Map sitemapParams = new HashMap();
sitemapParams.put("world", "hello");
Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT);
request.setAttribute("hello", "world");
return sitemapParams;
-------
i hop this will help..
greetings mike
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>