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: sonoojaiswal1987@gmail.com
Param name: submitbutton 
Param value: register
Next TopicJsoup Tutorial




Hot Tutorials

Contact US

Email:jjw.quan@gmail.com

Get Form Parameters
10/30