If you're trying to do this from within the screen widget then it is too late 
at that point because the response has moved past that point.  You'll need to 
do it from a request event.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 27/07/2011, at 7:53 PM, Ajay Lashkari wrote:

> Hi All,
> 
> I want to set the Response status 400 in the groovy and result should be
> displayed on the ftl. On screen i am using conditional check. For this i
> have written fail-widgets code in the screen. when i am using
> response.setStatus(response.SC_BAD_REQUEST); in the groovy it is showing
> "null" value of it. So  please give me your suggestions that how can i solve
> it. Thanks in advance.
> 
> 
> Thanks & Regards,
> Ajay Lashkari

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to