Jsoup Example: print form parameters In this example, we will print form parameters like parameter name and parameter value. To do so, we are calling getElementById() method of Document class and getElementsByTag() method of Element class. register.html
JsoupPrintFormParameters.java
Output:
Param name: name
Param value: sonoo
Param name: password
Param value: sj
Param name: email
Param value: [email protected]
Param name: submitbutton
Param value: register
|