you can upgrade your compile servlet api just fine But are you also running in a container that uses 2.5???
johan On Wed, May 7, 2008 at 11:45 AM, freak182 <[EMAIL PROTECTED]> wrote: > > Hello, > my problem im having problem integrating the wicket-push example to our > project using wicketfilter and since the wicket-push examples using > wicketservlet..how can i configure this changes?i already ported to > servlet-api 2.5. > > i change from... > ServletContext servletContext = > ((WebApplication)Application.get()).getServletContext(); > > to.... > ServletContext servletContext = > > ((WebApplication)Application.get()).getWicketFilter().getFilterConfig().getServletContext(); > > but still error... > > java.lang.NoSuchMethodError: > javax.servlet.ServletContext.getContextPath()Ljava/lang/String; > at > > org.wicketstuff.push.cometd.CometdAbstractBehavior.getCometdServletPath(CometdAbstractBehavior.java:221) > at > > org.wicketstuff.push.cometd.CometdAbstractBehavior.<clinit>(CometdAbstractBehavior.java:25) > > ...any idea how to do this thing??? > > Thanks a lot...Cheers > -- > View this message in context: > http://www.nabble.com/CometServlet-and-WicketFilter-tp17101068p17101068.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >