Classically to return something from the action you need to put the result annotation on the action or method
@Result(location = "/pages/success.jsp")
in the result you write the markup that will be inserted in the targets. You may need to supply http headers to turn off cache-control while the page is not reloaded.
Doing with the response you need your action to implement ServletResponseAware
.