[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] brain freeze on simple config
|
Consistent with brain freeze, it works now, but I don't know why. The
only thing I know I did was hit my hello worldly GET with the browser,
then POST started working (and across server restarts without more GET),
and POST works with another browser that I hadn't tested before. I hope
this will all be explained to me in the afterlife, and thanks for listening.
On 12/10/16 10:17 PM, Bill Ross wrote:
I have in my web.xml a servlet definition like 3 others that work, the
servlet says that it's initialized, but the browser gives 404.
<servlet>
<servlet-name>getkext</servlet-name>
<servlet-class>com.me.servlet.KwdMatch</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>getkext</servlet-name>
<url-pattern>/getkext</url-pattern>
</servlet-mapping>
And in com.me.servlet.KwdMatch,
@Override
public void init(ServletConfig config) throws ServletException {
log.info("KwdMatch Init OK");
}
@Override
public void doPost(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
log.info("KwdMatch POST ");
...
}
On startup I see
12/10 21:49:01.520 [main] INFO com.me.servlet.KwdMatch - KwdMatch
Init OK
But my browser tells me
http://localhost:8080/pr/getkext 404 (Not Found)
What am I missing? '/getmext' for example works fine with a parallel
configuration.
Thanks,
Bill
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users