struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeromy Evans <jeromy.ev...@blueskyminds.com.au>
Subject Re: S2 REST plugin
Date Thu, 24 Jul 2008 07:49:28 GMT
Mike Watson wrote:
> What I actually return is a DefaultHttpHeaders with a 404 set.
> getImage() returns an empty (not null) inputstream since there's no
> content for the body.
>
>   

You may need to return a different result type for the error case 
(HttpHeaderResult or NullResult) so it only attempts to set the headers 
though.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message