This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
SubmitForm f = (SubmitForm) form; // get the form bean // and take the last name value String lastName = f.getLastName(); // Translate the name to upper case //and save it in the request object request.setAttribute("lastName", lastName.toUpperCase());
// Forward control to the specified success target return (mapping.findForward("success")); } }