You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Stefan Renz <s....@efonds.com> on 2014/11/29 11:46:47 UTC

How to *not* handle a request

Hi,

seems a simple thing to ask, but I can't seem to be able to find the
solution:

I have certain endpoints of Spring Boot (their actuator endpoints) that
I want to make available under, say, /admin/manage/..., but I have a
fronting wicket page mounted under /admin.

I want to tell wicket *not* to handle anything below /admin/manage.
Instead, it should just pass the Request along the filter chain, finally
ending up in Spring's DispatcherServlet.

What would be the suggested way to do that?

Thanks, bye,
    Stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to *not* handle a request

Posted by Stefan Renz <s....@efonds.com>.
Thanks, Martin. I knew there had to be a simple answer :-)

Martin Grigorov schrieb:
> <init-param><param-name>ignorePaths</param-name><param-value>manage/</param-value></init-param>
> to WicketFilter in web.xml.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to *not* handle a request

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

See
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java#L802
I.e. you have to add
<init-param><param-name>ignorePaths</param-name><param-value>manage/</param-value></init-param>
to WicketFilter in web.xml.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Sat, Nov 29, 2014 at 11:46 AM, Stefan Renz <s....@efonds.com> wrote:

> Hi,
>
> seems a simple thing to ask, but I can't seem to be able to find the
> solution:
>
> I have certain endpoints of Spring Boot (their actuator endpoints) that
> I want to make available under, say, /admin/manage/..., but I have a
> fronting wicket page mounted under /admin.
>
> I want to tell wicket *not* to handle anything below /admin/manage.
> Instead, it should just pass the Request along the filter chain, finally
> ending up in Spring's DispatcherServlet.
>
> What would be the suggested way to do that?
>
> Thanks, bye,
>     Stefan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>