And in addition, currently we prefer to use the WicketFilter in favor of the WicketServlet precisely for this reason (wicket 1.3 only)
Martijn On 11/9/07, Gwyn Evans <[EMAIL PROTECTED]> wrote: > Hi Joshua, > > One point to note might be that the 'traditional' Wicket advice for > using a Servlet mapping was not to use the root context "/*" but > rather use a sub mapping, e.g. "/app/*", which leaves you with the > option of having static files not having to be served by Wicket. You > can always put a index.html that does a meta-redirect to "/app/" in > the root folder if needed. > > Another thing would be to search the mailing list (e,g, via Nabble - > http://www.nabble.com/Apache-Wicket-f13974.html) for any WAS-specific > issues, as I believe there have been some come by... > > /Gwyn > > On 09 November 2007, 8:36:10 AM, Joshua Jackson wrote: > JJ> Thanks Eelco. I already did that. > > JJ> It worked with StatelessLink and StatelessForm. Anyway is there any > JJ> issue if we use WicketServlet instead of WicketFilter as such: > JJ> <servlet> > JJ> <servlet-name>wicket.wicket</servlet-name> > JJ> > JJ> > <servlet-class>org.apache.wicket.protocol.http.WicketServlet</servlet-class> > JJ> <init-param> > JJ> <param-name>applicationClassName</param-name> > JJ> > JJ> <param-value>com.aig.lab.wicket.web.WicketApplication</param-value> > JJ> </init-param> > JJ> <init-param> > JJ> <param-name>applicationFactoryClassName</param-name> > JJ> > JJ> > <param-value>org.apache.wicket.spring.SpringWebApplicationFactory</param-value> > JJ> </init-param> > JJ> <load-on-startup>1</load-on-startup> > JJ> </servlet> > JJ> > JJ> <servlet-mapping> > JJ> <servlet-name>wicket.wicket</servlet-name> > JJ> <url-pattern>/*</url-pattern> > JJ> </servlet-mapping> > > > JJ> Since my spring will be started using ContextLoaderServlet because > JJ> ContextLoaderListener doesn't work in WAS 5 > > > -- > /Gwyn > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta4/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]