|Re: [jetty-users] general embedded jetty questions|
Hi S Ahmed,|
in your case a Servlet is the better fit. Instead using a handler write a servlet and only override the doPost() method if you only want to reply to POST requests. Use the servlet tutorials provided by Oracle or any other of the million tutorials in the web on how to do so.
How to run servlets embedded is described in the jetty wiki @ eclipse: http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty
On 4/16/12 11:12 PM, S Ahmed wrote:
My embedded jetty 'main' looks like:
-- thomas becker tbecker@xxxxxxxxxxx http://webtide.com / http://intalio.com (the folks behind jetty and cometd)
Back to the top