RE: How to process HTTP HEAD requests?

2013-05-18 Thread Martin Gainty
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,

Re: How to process HTTP HEAD requests?

2013-05-18 Thread Kaunain Ahmad
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

Re: How to process HTTP HEAD requests?

2013-05-18 Thread Lukasz Lenart
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

How to process HTTP HEAD requests?

2013-05-17 Thread 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? PS: I am not using the REST plugin. This isn't a web service either. :-) Paul