Hello Johan,
I think im running on servlet 2.5 container because in the wicket-push
example it uses the embeded jetty server 6.1.1 and in our project we are
using embeded jetty server 6.1.4..i guess higher version make a difference
or i might be wrong,pls advise?...Thanks a lot...Cheers..


Johan Compagner wrote:
> 
> 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]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/CometServlet-and-WicketFilter-tp17101068p17117634.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]

Reply via email to