Doing a fair bit of work with Struts at the moment, but there’s a fairly basic question that still bugging me. What is the best strategy for handling generic success messages?

So for example, say you’ve got an Action that does AddUser, one for EditUser, and one for DeleteUser. Do you need to supply specific JSPs for each of the success results?

At the moment, I’ve got something like: addUser.jsp >> AddUserAction >> addUserSuccess.jsp if AddUserAction returns success (or back to addUser.jsp with an errors collection on failure if something wasn’t quite right).

But that means every JSP has a corresponding blahSuccess.jsp, which seems like a lot more editing than I’d like. How do people handle that in bigger apps? Do you use a generic success.jsp and pass in some kinda message telling the user all was fine?

Ideas welcome!