cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stavros Kounis <gou...@osmosis.gr>
Subject Re: XSP : get the URL parameters
Date Fri, 02 May 2003 10:34:45 GMT

the best way is to use RequestParamAction that makes available all this
parameter in sitemap

the other way is to use a java code in your .xsp page (the part from
RequestParamAction that get all parameteres will work in your xsp page)


.
.

Enumeration e=request.getParameterNames();
while(e.hasMoreElements()){
	String name =(String) e.nextElement();
	String value = request.getParameter(name)
}
.
.

--stavros
On Thu, 1 May 2003 Maxime.Gheysen@swisscom.com wrote:

> Hello,
> I want to get the parameters from my address. Not only the value of a
> parameter like :
> abc/hello?ID=12   and catch the "12", but I want to get everything after
> the "?" (ID=12)
>
> Is that possible?
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>




---------------------------------------------------------------------
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