Hi,

implement ServletRequestAware interface in your action class
and override

public void setServletRequest(HttpServletRequest arg0) {
        // TODO Auto-generated method stub

    }

and use as usual



On Sat, May 18, 2013 at 4:47 AM, Paul Benedict <pbened...@apache.org> wrote:

> In one particular action, I need to handle HTTP HEAD requests. Is this
> possible using Struts 2? What must I customize if it doesn't work out of
> the box?
>
> PS: I am not using the REST plugin. This isn't a web service either. :-)
>
> Paul
>



-- 
Regards
Kaunain Ahmad
9015435286

Reply via email to