<mailto:
janb@xxxxxxxxxxx>> wrote:
Kevin,
Here's 2 pages on eclipse that talk about continuations in jetty-7:
1.
http://wiki.eclipse.org/Jetty/Starting/Porting_to_Jetty_7#Continuations
2.
http://wiki.eclipse.org/Jetty/Feature/Continuations
If you code to the jetty-7 api discussed in link 2 above, then
it will work on jetty-6 and jetty-7 (and any servlet 3.x container).
You need the jetty-continuations-7.x.jar in your webapp's WEB-INF/lib.
If you code to the jetty-7 api and then deploy in jetty-6 you'll get
a warning about the ConfigurationFilter (used for backward
compatibility) not being configured. Here's the reference for it:
http://download.eclipse.org/jetty/stable-7/xref/org/eclipse/jetty/continuation/ContinuationFilter.html
regards
Jan
On 21/09/10 02:10, Kevin Jordan wrote:
I get now that I need the jetty-util-6 jar in there, but I'm having
problems making Jetty use it. First I just dumped it in the lib
directory hoping Jetty would pick it up, but it didn't. Then I
tried it
in my webapp's lib directory and no luck there either. Then I tried
adding it to the CLASSPATH env variable, but that didn't seem to do
anything either.
ContinuationSupport.class.getClassLoader().loadClass("org.mortbay.util.ajax.Continuation")
seems to get a NoClassFoundException. Where do I need to put the
jetty-util-6 jar to get Jetty to load it so that part will work?
On Wed, Sep 15, 2010 at 4:04 PM, Kevin Jordan <
kevin@xxxxxxxxxxx
<mailto:
kevin@xxxxxxxxxxx>