Hello,
We are using some actions to write directly to the stream for some
ajax based functionality. To do this I wrote a
NoOp result type that does nothing.
[code]
public class NoOp extends StrutsResultSupport {
public NoOp() {
super();
}
protected void doExecute(String finalLocation, ActionInvocation
invocation) throws Exception {
//no op
}
}
[/code]
This allows the action to write the content using:
response.getOutputStream().write(contents)
I am looking for best practices. Is this an acceptable way to do this
or is there a better way to allow an action to return content that I
would like placed as only part of the page?
Thanks for the help,
Nathan Sarr