|
From: Nick L. <nl...@es...> - 2004-08-18 06:06:18
|
> > I think that the ServletContext is supposed to be available > to JSP views > > used from a Portlet. The spec says nothing about > restricting it, and in any > > case, without a ServletContext JSP's are pretty useless. > > Yes, of course a ServletContext is available to dispatched JSP views, > and data stored in either context is available to each, as > per the spec > anyway. My point was that Portlet code is meant to deal with > PortletAPIs not ServletAPIs and visa versa. > > However, as you pointed out that doesn't neccesily stop us > from having > PortletApplicationContext extend WebApplicationContext and be > available > where the RequestContext and the rest of the View package expect it. > > Thoughts? > > Bill I think it makes a lot of sense to do that. In the JSP pages included in a Portlet you can make use of JSP/Servlet features - I think Spring should do the same thing. Nick |