Salve a tutti devo fare un login automatico a una pagina .jsp di questo tipo:
<table width="25%" align="center" style="background-color:#EEEEEE; color: #000000; border: 1px; border-styleutset;">
<form action="checkLogin.jsp" name="frmLogin" id="frmLogin" method="POST">
<tr class="detailTitle">
<td colspan=2 align="center">Autenticazione</td>
</tr>
<tr>
<td height="6" colspan="2">
</td>
</tr>
<tr>
<td align="center" height="35" width="28%"><FONT size="1">Username</FONT></td>
<td height="35" width="72%" align="center">
<input type="text" name="username" id="username">
</td>
</tr>
<tr>
<td align="center" width="28%"><FONT size="1">Password</FONT></td>
<td width="72%" align="center"">
<input type="password" name="password">
</td>
</tr>
<tr>
<td colspan="2" height="35">
<div align="center">
<input type="submit" name="Submit" class="btn" onmouseover="this.className='btn btnhov'" onmouseout="this.className='btn'" value="Login" onclick="return check()">
</div>
</td>
</tr>
</form>
</table>
posso passare una stringa unica al browser oppure a curl per fare il login automatico?
Grazie