Answer the question
In order to leave comments, you need to log in
Advise a noob how to write a Jetty-embedded application correctly.?
Hello.
I have little experience in creating a servlet for TomCat, I recently decided to switch to Jetty. Began to deal with Jetty 8.
I need to create an application that will support sessions. As planned, each function is described by the heir of AbstractHandler.
I started using Context and ContextHandlerCollection and Context, but stumbled upon the fact that each context creates its own session with its own path, while I need one session. I started looking for some handler selector that would call the corresponding handler along its path, as is done with contexts, but I did not find it.
I felt that something was going wrong and decided to consult with you.
Thank you.
Answer the question
In order to leave comments, you need to log in
www.eclipse.org/jetty/documentation/current/advanced-embedding.html You
can also try this download.eclipse.org/jetty/stable-7/xref/org/eclipse/jetty/embedded/OneServletContext.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question