struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaurav Daga <togauravd...@gmail.com>
Subject javax.portlet.ResourceResponse reference in Action
Date Fri, 21 Mar 2014 21:58:21 GMT
Hello All

What is the recommended way of getting ResourceResponse instance in the
action method of JSR 286 based Struts2 Portlet Action class? I'm using
following way :

ResourceResponse response =
(ResourceResponse)PortletActionContext.getResponse();

As PortletActionContext doesn't provide method to get ResourceResponse
instance. Am I missing something here?

*Thanks & Regards/ **सादर**,*
*Gaurav Daga*
*togauravdaga@gmail.com <togauravdaga@gmail.com> | +1.201.308.3242 | Web
Presence <http://goo.gl/lW0nh>  *
Do not follow where the path may lead. Go instead where there is no path
and leave a trail. - Harold R. McAlindon

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message