Hi! You can use the <xsp-request:get-parameter name="bar"/> tag even inside the a <xsp:logic> tag.
so you can do: <xsp:logic> String myString = <xsp-request:get-parameter name="bar"/>; </xsp:logic> (xsp-request must be mapped to http://apache.org/xsp/request/2.0 ) greetings mike ----- Original Message ----- From: "Ganael LAPLANCHE" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 26, 2002 4:03 PM Subject: How to get URL parameters in an <xsp:logic> area ? > Hi ! > > I'd like to acces an URL variable in an <xsp:logic> area ??? > I call my page with : http://..../foo.xml?bar=hello and would like to > get the value of bar into a string element to re-use it. > > How would you do that ? Must be simple... but I'm a newbie... :) > > Thank you, > > Ganael. > > > > > > > --------------------------------------------------------------------- > 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]> > > --------------------------------------------------------------------- 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]>