"supposed" is defined in LiftServlet.isLiftRequest_? (it's a partial
function. If it's defined, it returns true or false).
If lift doesn't handle the request, it's passed on in the Filter
chain (thanks to Viktor for recommending this strategy.)
lift interoperates with everything else in the servlet container.
So, all you'd have to do is define the isLiftRequest_? partial
function to tell lift to deal with certain URLs and your existing
Servlet would deal with the rest and both lift and your other servlet
would share the same Servlet Context.
Long way of saying "yes".
--
David Pollak
http://blog.lostlake.org
Hey Vagif (or Verdi) :),David's right on the spot!Since /lift/ is implemented as a Filter, intercepting calls/URLs, you could simply add a test to isLiftRequest_? and have a Servlet, JSP, whatever cool stuff you want behind it. :)David: perhaps it'd be nice to have a simple way of doing this, as perhaps people want to integrate their servlets?
On Dec 11, 2007, at 4:05 AM, Viktor Klang wrote:
Hey Vagif (or Verdi) :),David's right on the spot!Since /lift/ is implemented as a Filter, intercepting calls/URLs, you could simply add a test to isLiftRequest_? and have a Servlet, JSP, whatever cool stuff you want behind it. :)David: perhaps it'd be nice to have a simple way of doing this, as perhaps people want to integrate their servlets?
I agree. Perhaps you could write up an example of the web.xml and tell me what the directory lift stuff with be served from and I'll write up the partial function.