Thanks a lot!
In my case is use JSP in portal (cachingURI coplet), links like
<a href="page2?a=1">page2</a> is transformed in action=x&event=y,
so the query-string is:
a=1?copletid=app-test-1&cocoon-portal-action=1&cocoon-portal-event=21
and if i rely on the servlet from JSP:
- ParamUtil.getParameterInt(request, "cocoon-portal-action") is ok
- ParamUtil.getParameterInt(request, "a) gives a java exception
BUT STRANGE ! in sitemap or in XSP using
<xsp:expr>request.getParameter("a")</xsp:expr> i get the right
request-param.
So new question : is there a way to get the original request params from
the servlet ?
Regards,
Phil
On Sat, 2004-06-26 at 19:22, Joerg Heinicke wrote:
> On 22.06.2004 17:43, Philippe Guillard wrote:
>
> > Is there a way to get a sitemap parameter from a JSP page(JSP block),
> > equivalent of the XSP <util:get-sitemap-parameter name="xxx"/> with
> > xmlns:util="http://apache.org/xsp/util/2.0" ?
>
> I guess not as JSP is to loosely coupled. You probably can only rely on
> the servlet API objects like request.
>
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]