The fragment can be easily split as: -- cut here -- <filter> <filter-name>wicket.Filter</filter-name>
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> </filter> -- cut here -- in web-fragment.xml and -- cut here -- <filter> <filter-name>wicket.Filter</filter-name> <init-param> <param-name>applicationClassName</param-name> <param-value>org.glassfish.samples.WicketApplication</param-value> </init-param> </filter> <filter-mapping> <filter-name>wicket.Filter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> -- cut here -- in web.xml. This keeps the Wicket registration in web-fragment.xml and the actual params in web.xml. -Arun igor.vaynberg wrote: > > dont think so because > > a) not everyone wants to name their application class > org.glassfish.samples.WicketApplication > b) not everyone wants to use /* mapping > > i havent read the spec yet but just from looking at the article this > is a little troubling from security perspective. just because i add a > jar to my app it can now register a servlet behind my back and create > a backdoor into the server? > > -igor > > On Tue, Aug 11, 2009 at 5:46 AM, Arun Gupta<arun.gu...@gmail.com> wrote: >> I wrote a blog describing how to use Wicket with a Servlet 3.0/Java EE >> 6 container: >> >> http://blogs.sun.com/arungupta/entry/totd_91_applying_java_ee >> >> Any chance the changes can be integrated in the wicket-*.jar ? >> >> -Arun >> >> -- >> Need Application Server ? - Download glassfish.org >> Blog: http://blogs.sun.com/arungupta >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/Using-Wicket-in-a-Java-EE-6-container-tp24916920p24948061.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org