struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Rollins <mark.roll...@computer.org>
Subject httpheader result type
Date Wed, 02 Sep 2009 09:35:32 GMT

Hi,

I need to be able to return a status and message to users of a particular
URL. If I use...


<result name="invalid" type="httpheader">
  404
</result>


I can successfully return a 404 status, but with no message.

If I use...


<result name="invalid" type="httpheader">
  404
  Some details about the error go here, or an OGNL expression
</result>


The page returned to the browser has no content. 

Any ideas anyone?

Thanks.
-- 
View this message in context: http://www.nabble.com/httpheader-result-type-tp25254438p25254438.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message