Merrill
Consultant, Sima Solutions
Merrill
Consultant, Sima Solutions
Originally posted by Raj Bhandari:
1. is the design okay now for the way my model throws exception and action catches it ?
Originally posted by Raj Bhandari:
2. should I put the decision to call SendEmail in the Model class itself or move it to the action class... ? what if tomorrow say, they don't want to send email.. then I have to change it in model. This model class is turning out to be just for doing an Insert and sending email.. not sure if I should do it this way.
Originally posted by Raj Bhandari:
3. how do I pass the record id generated in the model's insert method to the action and then then jsp if now my insert method returns nothing.
Merrill
Consultant, Sima Solutions
Merrill
Consultant, Sima Solutions
You'll never get away with this you overconfident blob! The most you will ever get is this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
|