On Fri, Oct 2, 2009 at 9:17 AM, rintcius <[email protected]> wrote:

>
> Ok hopefully better phrased: It's quite possible that there is no
> session, while there is a ServletContext.
>
> > The context of the request is going to depend on how the current session
> is instantiated.
>
> I don't get that. Quote from
> http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html
> :
>    There is one context per "web application" per Java Virtual
> Machine. (A "web application" is a collection of servlets and content
> installed under a specific subset of the server's URL namespace such
> as /catalog  and possibly installed via a .war file.)
>
> So why is it depending on how the current session is instantiated?
>

Because it's possible for a Lift application to serve more than just what's
sent in via the Servlet interface.  It's possible that a Lift application
might be serving stuff via Servlet, Portlet, and some other interface
simultaneously.


>
> Rintcius
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--~--~---------~--~----~------------~-------~--~----~
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