Just an update...
<xsp:init-page>
String productId = <xsp-request:get-parameter name="productid" default=""/>;
</xsp:init-page>
works just as well as
<xsp:init-page>
String productId = request.getParameter("productid");
<xsp:init-page/>
which means that the <xsp-request:get-parameter> tag doesn't need to always be used
within the generated doc's root element (as someone previously said).
Sonny
--- "Artur Bialecki" <[EMAIL PROTECTED]> wrote:
>
>Can you move your <xsp:logic> before the <Product> tag?
>Or try this
><xsp:init-page>
> String productId = request.getParameter("productid");
><xsp:init-page/>
>
>although the init-page tag might only work as a child
>of <xsp:page>.
>
>Artur...
_____________________________________________________________
Conserve wilderness with a click (free!) and get your own EcologyFund.net email
(free!) at http://www.ecologyfund.com.
_____________________________________________________________
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB,
POP & more! http://www.everyone.net/selectmail?campaign=tag
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>