CHAPTER 4 ■ SERVLET CONTAINER AND FRAMEWORKS Search by Account Name: If the account does not exist, users can create a new account using a standard HTML form, as shown in Figure 4-2. You are simply collecting some summary information in order to identify the account. Listing 4-2 contains the code for your input form. Figure 4-2. The Create a New Account web page 48 CHAPTER 4 ■ SERVLET CONTAINER AND FRAMEWORKS Listing 4-2. The code for Telesales Demo (Google App Engine for Java) Back Create a New Account. | CHAPTER 4 SERVLET CONTAINER AND FRAMEWORKS input type hidden name action value accountLookup span class heading Search by Account Name span p input type text name accountName value ACME style width 300px nbsp input type submit value Search nbsp form p body html If the account does not exist users can create a new account using a standard HTML form as shown in Figure 4-2. You are simply collecting some summary information in order to identify the account. Listing 4-2 contains the code for your input form. Figure 4-2. The Create a New Account web page 48 CHAPTER 4 SERVLET CONTAINER AND FRAMEWORKS Listing 4-2. The code for html head title Telesales Demo Google App Engine for Java title link rel stylesheet type text css href stylesheets head body span class nav a href Back a span p span class title Create a New Account span p form method get action telesales input type hidden name action value accountCreateDo table border 0 cellspacing 1 cellpadding 5 bgcolor CCCCCC tr bgcolor 407BA8 td style color ffffff font-weight bold Name td td bgcolor ffffff input type input name name td tr tr bgcolor 407BA8 td style color ffffff font-weight bold City td td bgcolor ffffff input type input name billingCity td tr tr bgcolor 407BA8 td style color ffffff font- weight bold State td td bgcolor ffffff input type input name billingState td tr tr bgcolor 407BA8 td style color ffffff font- weight bold Phone td td bgcolor ffffff input type input name phone td tr tr bgcolor 407BA8 td style color ffffff font- weight bold Website td 49 CHAPTER 4 SERVLET CONTAINER AND FRAMEWORKS td bgcolor ffffff input type input name website td tr tr td colspan 2 bgcolor ffffff align center input type submit value Submit td tr table form body html The search results page Figure 4-3 displays the accounts returned from the servlet. Listing 4-3 contains the code to display the search box and any results returned from Bigtable by the keyword search. Users can click the .