cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: Undefined variable or class name: request
Date Fri, 27 Apr 2001 18:46:49 GMT
On Fri, 27 Apr 2001, Tait, Allen wrote:

> I am trying to use the request wrapper provide by XSP.  However, I get trhe
> following message:
>
> Undefined variable or class name: request
>
> Here is the code:
>
> <?xml version="1.0"?>
> <?cocoon-process type="xsp"?>
> <?cocoon-process type="xslt"?>
> <?xml-stylesheet href="techdocs_home.xsl" type="text/xsl"?>
>
>
> <xsp:page language="java" xmlns:xsp="http://www.apache.org/1999/XSP/Core">
>
> <xsp:logic>
>
>    String[] searchWord  = request.getParameterValue("searchword");
>
> </xsp:logic>
>
> ....................
>
> </xsp:page>

you need to put a root element underneath the xsp:page element and put
your xsp:logic element underneath that - otherwise it's assumed to be
class logic, not method logic.

- donald


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message