I found this issue and voted on it at github. I've done a few
presentations on scala at my job, a java shop, and used lift in one of
the demos. A few people are quite interested in scala, and one is
particularly interested in lift. The project I work on is in spring
mvc, and it would be really cool to deploy a lift app beside it, as I
could expose the spring context and show what portions of the actual
app /might/ look like in lift.

On Sep 21, 7:07 pm, David Pollak <[email protected]>
wrote:
> On Tue, Sep 15, 2009 at 10:52 AM, tonyc <[email protected]> wrote:
>
> > Thanks David.
>
> > It will mean developers can introduce lift gradually without a big
> > bang approach, which is what I'm trying to do.
>
> > It's quite normal to change the url-pattern on servlets/filters and
> > it's also unusual for a filter which acts on *.html files in the root
> > to override the default  action (of serving up an html file).
>
> > When dynamically changing the content of an html file before serving
> > up, it's probably a sign that an alternative file extension and/or
> > location is needed. JSPs (ugh!), do end in *.jsp, not *.html so that
> > the web container "knows" not to serve them directly up, ie. they are
> > picked up by the JSP Servlet, not a filter that matches on every url.
>
> Lift supports URL rewriting for inbound requests, so you could turn
> /something/index into /index.  The challenge as I see it is that Lift also
> re-writes URLs on the way out and that might cause issues (the URLs would
> not be correctly re-written from /index to /something/index).
>
> I'll open a ticket because this also has to do with context paths and Lift
> is pretty rigid about context paths.
>
>
>
>
>
> > Maybe there is a way with what's already there, but I'm missing
> > something?
>
> > Cheers,
>
> > Tony.
>
> > On Sep 16, 2:58 am, David Pollak <[email protected]>
> > wrote:
> > > On Tue, Sep 15, 2009 at 1:57 AM, tonyc <[email protected]> wrote:
>
> > > > I'm considering lift for an alternative web framework but need to
> > > > maintain a whole bunch of servlets / filters that already live in my
> > > > web.xml.
>
> > > > This is the closest thread to this subject so I thought I'd post here.
>
> > > > I'm trying to get the LiftFilter to match on a distinct url-pattern to
> > > > allow the other filters/servlets to continue matching their current
> > > > url patterns.
>
> > > > For this reason I need LiftFilter to match on say "lift-test/*" and so
> > > > it receives requests like http://<host>/lift-test/index.html, but NOT
> > > > like http://<host>/index.html
>
> > > I think you have to put the index.html file in /lift-test/index.html
>
> > > If this becomes a common occurrence, I think we can introduce something
> > into
> > > LiftRules that will "offset" where things are looked up and also the
> > > re-writing of URL.
>
> > > > Trouble is, I'm now a bit confused where to put the (lift) index.html
> > > > in the webapp and/or what I need to change in Boot.scala.
>
> > > > Scala plays nicely with Java, and I'd like to be able to get web
> > > > frameworks playing nicely as well.
>
> > > > I've already cobbled together spring/gwt/restlet/apachecxf so I guess
> > > > I'm a glutton for punishment;)
>
> > > > I suspect there's quite a few people want to integrate Lift with their
> > > > pre-existing webapps, so I'm hoping somebody has solved it already.
>
> > > > Cheers,
>
> > > > Tony.
>
> > > --
> > > Lift, the simply functional web frameworkhttp://liftweb.net
> > > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > > Follow me:http://twitter.com/dpp
> > > Git some:http://github.com/dpp
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to