Yes in theory you are correct, but in side a S2 portlet (which implements ServletRequestAware interface) if you try to get a handler for HttpServletRequest object via the setServletRequest method it basically gives null.
How we make a handler for the HttpServletRequest object is as follows, PortletRequest portletRequest =PortletActionContext.getRequest(); request = (HttpServletRequest) portletRequest; there were lot of other things we had to do differently, but for all we got some solution. I thing this is a seperate discussion alltogether why it doesnt work like a web application etc? hope this helps --- Chris Pratt <[EMAIL PROTECTED]> wrote: > On 9/12/07, tom tom <[EMAIL PROTECTED]> wrote: > > If you are developing portlets with struts2 > > I doubt *Aware interfaces work properly, you have > to > > do it differently. > > I don't know of anything that would preclude you (or > anyone else) from > writing a set of Portlet aware Interceptors. They > could even use the > same *Aware interfaces. The advantage is that you > could use the same > actions whether or not they were in a Portlet by > just changing the > Interceptor Stack. > (*Chris*) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > ____________________________________________________________________________________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]