hi I am moving over from jetty 4.2 to jetty 6.1.0 embeded web server - and in my web.xml I am using the following bit of xml
<servlet>
<servlet-name>invoker</ser
vlet-name>
<servlet-class>org.mortbay
.jetty.ser
vlet.Invok
er</servle
t-class>
</servlet>
<servlet-mapping>
<servlet-name>invoker</ser
vlet-name>
<url-pattern>/servlet/*</u
rl-pattern
>
</servlet-mapping>
According to everything I read this should allow dynamic loading of all my servlets
BUT IT DOESNT !!!!
All my servlets work first time but some appear as error 404 when I try to reload them.
This is what I have tried.
Servlet A works
Servlet B does not
Copyy Servlet A over Servlet B - Change class name to Servlet A
recompile
No effect.
All my servlets live in the same directory.
Some servlets use POSt, some use GET , some use Ajax but the ones that do not work have nothing specifically in common.
Some Ajax work
Some POST work
some GET work
I seem to be able to statically add certain servlets in my web.xml and that solves some of them BUT not others and I am running out of ideas what this could be
Does anyone know why this could be.
All answers apreciatcted.
Start Free Trial