Re: CometServlet and WicketFilter

2008-05-08 Thread Johan Compagner
it seems that jetty 6 really uses servlet api 2.5 yes (this is by the way
very hard to find... they really should have a list just as tomcat has)

so somehow you have another servlet.jar there

On Thu, May 8, 2008 at 3:32 AM, freak182 [EMAIL PROTECTED] wrote:


 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]




Re: CometServlet and WicketFilter

2008-05-08 Thread freak182

Hello Johan,
Thanks for the advice...i will try to look at for any servlet.jar...anyway
our project is big and i dont know want jars my teammate added-n-added...
:-)

Thanks a lot..Cheers


Johan Compagner wrote:
 
 it seems that jetty 6 really uses servlet api 2.5 yes (this is by the way
 very hard to find... they really should have a list just as tomcat has)
 
 so somehow you have another servlet.jar there
 
 On Thu, May 8, 2008 at 3:32 AM, freak182 [EMAIL PROTECTED] wrote:
 

 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]


 
 

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



CometServlet and WicketFilter

2008-05-07 Thread freak182

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]



Re: CometServlet and WicketFilter

2008-05-07 Thread Johan Compagner
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]




Re: CometServlet and WicketFilter

2008-05-07 Thread freak182

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]