t facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> From: kaunain.ahmad2...@gmail.com
> Date: Sat, 18 May 2013 17:29:57 +0530
> Subject: Re: How to process HTTP HEAD requests?
> To: user@struts.apache.org
>
> Hi,
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 wrote:
> In one particular action, I need
2013/5/18 Paul Benedict :
> 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?
Check this out [1] or maybe Struts filter just do the job ;-) If not,
please request an improvement :-)
[1] http
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
4 matches
Mail list logo