struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hookom, Jacob John" <hooko...@uwec.edu>
Subject Context Based Rollbacks from Action
Date Fri, 13 Dec 2002 18:11:24 GMT
I'm looking for best practices for context based rollbacks.  An example would be:

department.do?dptId=4559
-->submit on addEmployeeForm.do
-->error occurred, rollback to department.do?dptId=4559

Of course the departmentId would be passed in the employee form, so it could be passed back
in the forward, but, is there a better way to rollback to the page that submitted it other
than doing mapping.getInputPage() and then appending the param and actual departmentId on
the forward?

This issue seems to come up a lot and I'm wondering if there are any 'best'-solutions?

Regards,
Jacob Hookom


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message