Home | History | Annotate | Download | only in war
      1 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
      2 <html>
      3   <head>
      4     <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
      5   </head>
      6   <body>
      7     <h2>Phone Number Parser Demo</h2>
      8     <form action="/phonenumberparser" method="post" accept-charset="UTF-8"
      9           enctype="multipart/form-data">
     10       <h2>Step 1</h2>
     11       <p>
     12       Specify a Phone Number: <input type="text" name="phoneNumber" size="25">
     13       <p>
     14       <b>Or</b> Upload a file containing phone numbers separated by comma.
     15       <p>
     16       <input type="file" name="numberFile" size="30">
     17       <p>
     18       <h2>Step 2</h2>
     19       <p>
     20       Specify a Default Country:
     21       <input type="text" name="defaultCountry" size="2">
     22           (<a href="http://www.iso.org/iso/english_country_names_and_code_elements">
     23           ISO 3166-1 two-letter country code</a>)
     24       <h2>Step 3</h2>
     25       <p>
     26       Specify a locale for phone number geocoding (Optional, defaults to en):
     27       <p>
     28       <input type="text" name="languageCode" size="2">-<input type="text" name="regionCode"
     29                                                               size="2">
     30           (<a href="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html">A valid ISO
     31               Language Code and optionally a region to more precisely define the language.</a>)
     32       <p></p>
     33       <input type="submit" value="Submit">
     34       <input type="reset" value="Reset">
     35       <p></p>
     36       <a href="https://github.com/googlei18n/libphonenumber/">Back to libphonenumber</a>
     37     </form>
     38   </body>
     39 </html>
     40