cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: JSP / Parameters
Date Wed, 08 May 2002 16:36:32 GMT
> From: Chris Foo [mailto:foo_chris@hotmail.com]
> 
> In my example below, are you saying that the "param=param1" would
> automatically be appended to the JSP extension in the <map:read ...>?

It won't be appended per se, but should be available in the JSP via
request.getParameter().

Vadim


> Chris
> 
> 
> 
> >From: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
> >Reply-To: cocoon-users@xml.apache.org
> >To: <cocoon-users@xml.apache.org>
> >Subject: RE: JSP / Parameters
> >Date: Wed, 8 May 2002 11:50:47 -0400
> >
> > > How would I pass on parameters for a JSP page to be processed by
> >Cocoon? For
> > > example if I have the URL:
> ><http://wottfooc:8080/cocoon/myJSP?param=param1>
> > >
> > > and in the sitemap:
> > >
> > > <map:match pattern="*">
> > > <map:read type="jsp" src="/myApp/{1}.jsp" mime-type="text/html" />
> > > </map:match>
> > >
> 
> >They are passed automatically.
> >
> >Vadim


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