Thanx Bert. > Here's a snip from a page that does exactly what you want > > <?xml version="1.0" encoding="ISO-8859-1"?> > <xsp:page language="java" xmlns:xsp="http://apache.org/xsp" > xmlns:esql="http://apache.org/cocoon/SQL/v2"> > <data> > <xsp:logic> > String myParam = ""; > > <!-- get the parameter from sitemap --> > try{ > myParam = parameters.getParameter("formName"); > } > catch (Exception e) > {} > </xsp:logic> > </data> > </xsp:page> > > Note that I request the parameter inside the data tag. Everything directly > below the xsp:page tag is on class level, not page level. > > HTH, > Bert
-- Mathias Ochsendorf www: www.ochsendorf.net | www.ochsendorf.de ICQ: 68556900 --------------------------------------------------------------------- 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]>