"Gareth Coltman" <[EMAIL PROTECTED]> writes: > That's our experience. > > The default target valve works as follows: > > 1.Set Content Type > 2.Render module/content > 3.Print to the output stream > > This happens after the action (The DefaultActionValve) in the default > pipeline. > > So if you call setContentType(...) > and then write to the output stream in your action, calling setContentType > again in the target valve throws an exception because you cant reset the > content type after the output writer has already been opened. > > We need to come up with a workaround for this.
Gareth, it seems to me that you have a really good handle on the problem. Why don't you try your hand at a patch? Dan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
