struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeromy Evans <>
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 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message