For a long time I've been using the same template for adding content as for editing content. However, I've always been using separate controllers. Seems to me that's leading to a lot of duplication. So I'm wondering: do you use separate controllers (or methods) for adding/editing, or do you have conditionals to determine whether to insert or update?
all seperate, so its easy to fix problems and not killing the whole site when making one little mistake!
as far as i know all frameworks like strutcs wickets springs and other also handle edit delete update all seperately ...yep can do persistency but functions are the behaviors which should be change or you can do overloading
Normally you have different controller methods because there may be a few differences. However, you can have the same validations.. Most frameworks do this with the model validation. (And adding or removing specific validations for add/update)