0 Replies Latest reply: Apr 21, 2011 8:34 AM by 740591 RSS

    Passing Jaas form parameters

    740591
      Hello,

      I develop web application with authentication with this form :

      <html>
           <body>
           <form action='j_security_check' method='post'>
      <table align='center' style='font-size:12px' width='100%'>
      <tr>
      <td><img src='./images/logo.gif' style='border:0px'/></td>
      <td>Test Management System</td>
      </tr>
      <tr>
      <td>Username</td>
      <td style='padding:5'><input type='text' style='width:270px;height:22px' name='j_username'/>
      </td>
                </tr>
                <tr>
                <td></td>
                </tr>
      <tr>
      <td>Password</td>
      <td style='padding:5'><input type='password' style='width:270px;height:22px' name='j_password'/>
      </td>
                </tr>
                <tr>
      <td>Language</td>
      <td style='padding:5'>
      <select name="codes[]" style='width:270px;height:22px'>
      <option>English</option>
      <option>French</option>
      </select>

      </td>
           </tr>
      <tr>
      <td></td>
      <td style='padding-top:5'><input type='submit' value='Log in' style='width:90px'/></td>
      </tr>
      </table>
      </form>
      </body>
      </html>

      and everything works fine,but i need to get <select> value(language parameter) on server side, but how? is there any good way to do this?