19 June 2011

Java EE applications, practice 4-2, step 2.g

  1. Retrieve the "customerIdentity" request parameter
  2. Use the identity to look up the customer in the model and save it to the "customer" attribute
  3. Use the identity to look up the customer shares in the model and save them to the "shares" attribute
  4. If there is an exception, save its message to the  "message" attribute