title: textbox in jsp that allows only text ,numbers, and comma
body: <p>Textbox in jsp that allows only text numbers and comma.</p>
  
  <p>this is to seperate userids.</p>
  
  <p>each userid has to be 8 chars in length and i need to enter multiple userids in the textbox.</p>
  
  <p>eg:</p>
  
  <p><strong>correct format is below</strong> </p>
  
  <p>asakthi1,psubhadr,tpradee4</p>
  
  <p><strong>it should not end like</strong>(with a comma at the end.)<strong>(incorrect format)</strong></p>
  
  <p>asakthi1,psubhadr,tpradee4,</p>
  
  <p>this i need to do using javascript.(No Jquery please.)</p>
  
  <p>am scratching my head on this..Any help would be appreciated.</p>