For WW1.3 I suggest we add the attached NoContent as a standard action. I am using it myself now and it works just fine and some of my pages with many forms on them, really got much more user friendly when using this trick.
The action is extremely simple and so is using it. Your actions xml/properties file remains easy to read. With this as an example anyone can create a more advanced/customized/flexible action for setting other headers, status codes etc. Cheers, Dick Zetterberg [EMAIL PROTECTED] ----- Original Message ----- From: "Rickard Öberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 5:02 PM Subject: Re: [OS-webwork] HTTP 204 Trick > Dick Zetterberg wrote: > > Is it not possible to perform this 204 trick just by adding a new standard action > > that just sets the header and returns NONE? Similar to how the Redirect action > > works in WW1.x. One would then just chain to this action whenever one wants the > > header to be set? > > Would that work, or have I misunderstood something? > > That should work just fine. > > /Rickard > >
NoContent.java
Description: Binary data