简体   繁体   中英

how to do submit on cgi form post?

I have a page that has Login.cgi , I need a way to call Login Button , after providing the username and password , [ Sample html code from the page ]

<input name="name" type="text"/>
<input name="pswd" type="password"/>
<table>
<tr>
<td><input type="Submit" Value="Login"/></td>
<td><input type="Reset" value="Reset"/></td>
</tr>
</table>

I am trying to do automatic Login , from post method in java ,

Appreciate the help ,

Regards,

I have fixed my issue there was some additional parameters that needed to be included while doing post for the form , I reviewed the code and found out what are the missing parameters and my problem is solved , all good now

Regards,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM