You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Eirik Lygre <ei...@gmail.com> on 2011/04/07 11:15:29 UTC

Re: Wicket cannot work on OC4J (ias 10g)?

The traditional workaround for OC4J is to use the WicketServlet rather than
the WicketFilter.

The reason the WicketFilter does not work, though, is normally that there is
nothing to filter. OC4J will first look for the resource (e.g. "/"), and
only if it find this resource will it actually apply any filter. Hence,
declaring any  also seems to work:

1) Create a dummy "index.html", and store in the root folder (e.g.
src/main/webapp/index.html)
2) Edit your web.xml (src/main/webapp/WEB-INF/web.xml), adding a reference
to the welcome file:

    
        index.html
    

Voila! ... at least for me :-)

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-cannot-work-on-OC4J-ias-10g-tp1862252p3432836.html
Sent from the Users forum mailing list archive at Nabble.com.

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